OmegaEngine API
1.0.3
|
Represents a scene that can be viewed by a Camera. More...
Public Attributes | |
ICollection< PositionableRenderable > | Positionables => _positionables |
All PositionableRenderables contained within this scene. More... | |
ICollection< LightSource > | Lights => _lights |
All light sources affecting the entities in this scene More... | |
Public Attributes inherited from OmegaEngine.EngineElement | |
bool | IsEngineSet => _engine != null |
true if the Engine has been set. More... | |
Properties | |
Skybox | Skybox [get, set] |
The current Skybox for this scene More... | |
Properties inherited from OmegaEngine.EngineElement | |
Engine | Engine [get, set] |
The Engine instance used by this object. Must be set before using the object. May not be changed once it has been set! More... | |
bool | IsDisposed [get] |
Indicates whether this object has been disposed and can therefore no longer be used. More... | |
Additional Inherited Members | |
Public Member Functions inherited from OmegaEngine.EngineElement | |
void | Dispose () |
Protected Member Functions inherited from OmegaEngine.EngineElement | |
void | RegisterChild (EngineElement element, bool autoDispose=true) |
Registers a child EngineElement for automatic Engine setting and Dispose calling. More... | |
void | UnregisterChild (EngineElement element) |
Unregisters a child EngineElement (opposite of RegisterChild). More... | |
virtual void | OnEngineSet () |
Hook that is calld when Engine is set for the first time. More... | |
virtual void | OnDispose () |
Hook that is called when the object needs to dispose its internal resources. More... | |
Represents a scene that can be viewed by a Camera.
Multiple Views can share one Scene.
ICollection<LightSource> OmegaEngine.Graphics.Scene.Lights => _lights |
All light sources affecting the entities in this scene
ICollection<PositionableRenderable> OmegaEngine.Graphics.Scene.Positionables => _positionables |
All PositionableRenderables contained within this scene.
Will be disposed when EngineElement.Dispose is called.
|
getset |
The current Skybox for this scene
Will be disposed when EngineElement.Dispose is called.