Represents any 3D model to be drawn in a Komodo.Core.ECS.Systems.Render3DSystem
More...
|
| BoundingBox | BoundingBox [get] |
| | Provides a Microsoft.Xna.Framework.BoundingBox representing the bounds of the model. More...
|
| |
| Color | DiffuseColor [get, set] |
| | Microsoft.Xna.Framework.Color to tint the entire Komodo.Core.Engine.Graphics.Model with. More...
|
| |
| float | Depth [get] |
| | Z dimensional extremity. More...
|
| |
| float | Height [get] |
| | Y dimensional extremity. More...
|
| |
| Model | ModelData [get, set] |
| | Raw model data loaded from disk. More...
|
| |
| string | ModelPath [get, set] |
| | Path of the Komodo.Core.Engine.Graphics.Model if the Drawable3DComponent was provided a model filepath via Drawable3DComponent.Drawable3DComponent(string). More...
|
| |
| Texture | Texture [get, set] |
| | Texture to be applied to the Komodo.Core.Engine.Graphics.Model surface. More...
|
| |
| string | TexturePath [get, set] |
| | Path to texture to be applied to the Komodo.Core.Engine.Graphics.Model surface. More...
|
| |
| float | Width [get] |
| | X dimensional extremity. More...
|
| |
| Game? | Game [get] |
| | Each Component maintains a reference to the Komodo.Core.Game instance. More...
|
| |
| Guid | ID [get] |
| | Unique identifier for the Component. More...
|
| |
| bool | IsEnabled [get, set] |
| | Enabled Components are managed by their corresponding Komodo.Core.ECS.Systems.ISystem, otherwise the Component is ignored. More...
|
| |
| bool | IsInitialized [get, set] |
| | Uninitialized Components are initialized by their corresponding Komodo.Core.ECS.Systems.ISystem, otherwise the Component is initialized on the next Komodo.Core.ECS.Systems.ISystem.Initialize, Komodo.Core.ECS.Systems.ISystem.PreUpdate, or Komodo.Core.ECS.Systems.ISystem.PostUpdate methods. More...
|
| |
| Entity | Parent [get, set] |
| | Each Component belongs to a Komodo.Core.ECS.Entities.Entity and maintains a reference to the parent Komodo.Core.ECS.Entities.Entity. More...
|
| |
| Vector3 | Position [get, set] |
| | Each Component has a position relative to their Parent. More...
|
| |
| Vector3?? | WorldPosition [get] |
| | The sum of Position and the Parent's Komodo.Core.ECS.Entities.Entity.Position, representing the Component's position in world space. More...
|
| |
| Vector3?? | Rotation [get, set] |
| | Derived from the Parent's Komodo.Core.ECS.Entities.Entity.Rotation. More...
|
| |
| Matrix?? | RotationMatrix [get] |
| | Derived from the Parent's Komodo.Core.ECS.Entities.Entity.RotationMatrix. More...
|
| |
| Quaternion?? | RotationQuaternion [get] |
| | Derived from the Parent's Komodo.Core.ECS.Entities.Entity.RotationQuaternion. More...
|
| |
| Vector3?? | Scale [get, set] |
| | Derived from the Parent's Komodo.Core.ECS.Entities.Entity.Scale. More...
|
| |
|
|
| Component (bool isEnabled=true, Entity parent=null) |
| |
Represents any 3D model to be drawn in a Komodo.Core.ECS.Systems.Render3DSystem
◆ Drawable3DComponent() [1/2]
| Komodo.Core.ECS.Components.Drawable3DComponent.Drawable3DComponent |
( |
Model |
model | ) |
|
◆ Drawable3DComponent() [2/2]
| Komodo.Core.ECS.Components.Drawable3DComponent.Drawable3DComponent |
( |
string |
modelPath | ) |
|
◆ BoundingBox
| BoundingBox Komodo.Core.ECS.Components.Drawable3DComponent.BoundingBox |
|
get |
Provides a Microsoft.Xna.Framework.BoundingBox representing the bounds of the model.
◆ Depth
| float Komodo.Core.ECS.Components.Drawable3DComponent.Depth |
|
get |
◆ DiffuseColor
| Color Komodo.Core.ECS.Components.Drawable3DComponent.DiffuseColor |
|
getset |
◆ Height
| float Komodo.Core.ECS.Components.Drawable3DComponent.Height |
|
get |
◆ ModelData
| Model Komodo.Core.ECS.Components.Drawable3DComponent.ModelData |
|
getset |
Raw model data loaded from disk.
◆ ModelPath
| string Komodo.Core.ECS.Components.Drawable3DComponent.ModelPath |
|
getset |
◆ Texture
| Texture Komodo.Core.ECS.Components.Drawable3DComponent.Texture |
|
getset |
◆ TexturePath
| string Komodo.Core.ECS.Components.Drawable3DComponent.TexturePath |
|
getset |
◆ Width
| float Komodo.Core.ECS.Components.Drawable3DComponent.Width |
|
get |