OmegaEngine API  1.0.3
Public Attributes | Properties | List of all members
OmegaEngine.Graphics.Scene Class Reference

Represents a scene that can be viewed by a Camera. More...

Inheritance diagram for OmegaEngine.Graphics.Scene:
OmegaEngine.EngineElement

Public Attributes

ICollection< PositionableRenderablePositionables => _positionables
 All PositionableRenderables contained within this scene. More...
 
ICollection< LightSourceLights => _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...
 

Detailed Description

Represents a scene that can be viewed by a Camera.

Multiple Views can share one Scene.

See also
View.Scene

Member Data Documentation

◆ Lights

ICollection<LightSource> OmegaEngine.Graphics.Scene.Lights => _lights

All light sources affecting the entities in this scene

◆ Positionables

ICollection<PositionableRenderable> OmegaEngine.Graphics.Scene.Positionables => _positionables

All PositionableRenderables contained within this scene.

Will be disposed when EngineElement.Dispose is called.

Property Documentation

◆ Skybox

Skybox OmegaEngine.Graphics.Scene.Skybox
getset

The current Skybox for this scene

Will be disposed when EngineElement.Dispose is called.


The documentation for this class was generated from the following file: