Komodo Engine
C PROJECT_LOGO=
|
Manages all Komodo.Core.ECS.Components.Drawable3DComponent objects. There can be more than one Render3DSystem per Komodo.Core.Game. More...
Public Member Functions | |||
Render3DSystem (Game game) | |||
| |||
bool | AddEntity ([NotNull] Entity entityToAdd) | ||
Adds a Komodo.Core.ECS.Entities.Entity to the Drawable3DSystem if the Komodo.Core.ECS.Entities.Entity is not already present. More... | |||
void | ClearEntities () | ||
Removes all Komodo.Core.ECS.Entities.Entity objects from the Drawable3DSystem. More... | |||
void | Initialize () | ||
Initializes the Drawable3DSystem and all tracked Komodo.Core.ECS.Components.Drawable3DComponent objects. More... | |||
void | PostUpdate (GameTime _) | ||
Runs any operations needed at the end of the Komodo.Core.Game.Update(GameTime) loop. More... | |||
void | PreUpdate (GameTime _) | ||
Runs any operations needed at the beginning of the Komodo.Core.Game.Update(GameTime) loop. More... | |||
bool | RemoveEntity (Guid entityID) | ||
Removes a Komodo.Core.ECS.Entities.Entity from the Drawable3DSystem, including all the Komodo.Core.ECS.Entities.Entity's Komodo.Core.ECS.Components.Drawable3DComponent objects. More... | |||
bool | RemoveEntity (Entity entityToRemove) | ||
Removes a Komodo.Core.ECS.Entities.Entity from the Drawable3DSystem, including all the Komodo.Core.ECS.Entities.Entity's Komodo.Core.ECS.Components.Drawable3DComponent objects. More... | |||
Public Member Functions inherited from Komodo.Core.ECS.Systems.ISystem< Drawable3DComponent > | |||
bool | AddEntity (Entity entityToAdd) | ||
Adds a Komodo.Core.ECS.Entities.Entity to the ISystem if the Komodo.Core.ECS.Entities.Entity is not already present. More... | |||
void | ClearEntities () | ||
Removes all Komodo.Core.ECS.Entities.Entity objects from the ISystem. More... | |||
void | Initialize () | ||
Should update the ISystem as well as all of it's T objects. More... | |||
void | PostUpdate (GameTime gameTime) | ||
Runs any operations needed at the end of the Komodo.Core.Game.Update(GameTime) loop. More... | |||
void | PreUpdate (GameTime gameTime) | ||
Runs any operations needed at the beginning of the Komodo.Core.Game.Update(GameTime) loop. More... | |||
bool | RemoveEntity (Guid entityID) | ||
Removes a Komodo.Core.ECS.Entities.Entity from the ISystem, including all the Komodo.Core.ECS.Entities.Entity's T objects. More... | |||
bool | RemoveEntity (Entity entityToRemove) | ||
Removes a Komodo.Core.ECS.Entities.Entity from the ISystem, including all the Komodo.Core.ECS.Entities.Entity's Komodo.Core.ECS.Components.Component objects. More... | |||
Properties | |
CameraComponent | ActiveCamera [get, set] |
Komodo.Core.ECS.Components.CameraComponent to be used for rendering all tracked Components. More... | |
List< Drawable3DComponent > | Components [get] |
All tracked Komodo.Core.ECS.Components.Drawable3DComponent objects. More... | |
Dictionary< Guid, Entity > | Entities [get, set] |
All tracked Komodo.Core.ECS.Entities.Entity objects. More... | |
Game | Game [get] |
Reference to current Komodo.Core.Game instance. More... | |
bool | IsInitialized [get] |
Whether or not the Drawable3DSystem has called Initialize(). More... | |
SamplerState | TextureFilter [get, set] |
Texture filtering to use for 3D textures. More... | |
Properties inherited from Komodo.Core.ECS.Systems.ISystem< Drawable3DComponent > | |
List< T > | Components [get] |
All tracked T objects. More... | |
Dictionary< Guid, Entity > | Entities [get, set] |
All tracked Komodo.Core.ECS.Entities.Entity objects. More... | |
Game | Game [get] |
Reference to current Komodo.Core.Game instance. More... | |
bool | IsInitialized [get] |
Whether or not the ISystem has called Initialize(). More... | |
Manages all Komodo.Core.ECS.Components.Drawable3DComponent objects. There can be more than one Render3DSystem per Komodo.Core.Game.
bool Komodo.Core.ECS.Systems.Render3DSystem.AddEntity | ( | [NotNull] Entity | entityToAdd | ) |
Adds a Komodo.Core.ECS.Entities.Entity to the Drawable3DSystem if the Komodo.Core.ECS.Entities.Entity is not already present.
entityToAdd | Komodo.Core.ECS.Entities.Entity to add. |
void Komodo.Core.ECS.Systems.Render3DSystem.ClearEntities | ( | ) |
Removes all Komodo.Core.ECS.Entities.Entity objects from the Drawable3DSystem.
void Komodo.Core.ECS.Systems.Render3DSystem.Initialize | ( | ) |
Initializes the Drawable3DSystem and all tracked Komodo.Core.ECS.Components.Drawable3DComponent objects.
void Komodo.Core.ECS.Systems.Render3DSystem.PostUpdate | ( | GameTime | _ | ) |
Runs any operations needed at the end of the Komodo.Core.Game.Update(GameTime) loop.
Will initialize any new uninitialized Komodo.Core.ECS.Components.Drawable3DComponent objects.
_ | Time passed since last Komodo.Core.Game.Update(GameTime). |
void Komodo.Core.ECS.Systems.Render3DSystem.PreUpdate | ( | GameTime | _ | ) |
Runs any operations needed at the beginning of the Komodo.Core.Game.Update(GameTime) loop.
Will initialize any new uninitialized Komodo.Core.ECS.Components.Drawable3DComponent objects.
_ | Time passed since last Komodo.Core.Game.Update(GameTime). |
bool Komodo.Core.ECS.Systems.Render3DSystem.RemoveEntity | ( | Entity | entityToRemove | ) |
Removes a Komodo.Core.ECS.Entities.Entity from the Drawable3DSystem, including all the Komodo.Core.ECS.Entities.Entity's Komodo.Core.ECS.Components.Drawable3DComponent objects.
entityToRemove | Komodo.Core.ECS.Entities.Entity to remove. |
bool Komodo.Core.ECS.Systems.Render3DSystem.RemoveEntity | ( | Guid | entityID | ) |
Removes a Komodo.Core.ECS.Entities.Entity from the Drawable3DSystem, including all the Komodo.Core.ECS.Entities.Entity's Komodo.Core.ECS.Components.Drawable3DComponent objects.
entityID | Unique identifier for the Komodo.Core.ECS.Entities.Entity. |
|
getset |
Komodo.Core.ECS.Components.CameraComponent to be used for rendering all tracked Components.
|
get |
All tracked Komodo.Core.ECS.Components.Drawable3DComponent objects.
|
getset |
All tracked Komodo.Core.ECS.Entities.Entity objects.
|
get |
Reference to current Komodo.Core.Game instance.
|
get |
Whether or not the Drawable3DSystem has called Initialize().
|
getset |
Texture filtering to use for 3D textures.