|
| Presenter (Engine engine, Universe universe) |
| Creates a new presenter. More...
|
|
override void | Dispose (bool disposing) |
| To be called by IDisposable.Dispose and the object destructor. More...
|
|
Camera | CreateCamera (CameraState< Vector2 > state=null) |
| Creates a new camera based on a state usually loaded from the Universe. More...
|
|
virtual double | CameraController (DoubleVector3 coordinates) |
| Ensures the camera does not go under or outside the Terrain. More...
|
|
void | SwitchMusicTheme (string theme, bool immediate=false) |
| Switches the theme of the music played More...
|
|
delegate PositionableRenderable | RenderCompononentToEngine< TComponent > (Entity entity, TComponent component) |
| A callback for mapping a Render component to an Engine representation. More...
|
|
void | RegisterRenderComponent< TComponent > (RenderCompononentToEngine< TComponent > create) |
| Registers a callback for converting a Render component to an Engine representation. More...
|
|
void | UpdateRepresentation (Positionable< Vector2 > element, IPositionable representation) |
| Applies the position of a Model element to a View representation. More...
|
|
void | UpdateRepresentation (Entity element, PositionableRenderable representation) |
| Applies the position and rotation of a Model element to a View representation. More...
|
|
void | UpdateRepresentation (Entity element, PointLight representation) |
| Applies the position and rotation of a Model element to a View representation. More...
|
|
override void | RegisterRenderablesSync () |
|
void | UpdateLighting () |
| Updates _lightSun and _lightMoon based on the light phase in PresenterBase<TUniverse,TCoordinates>.Universe. More...
|
|
| PresenterBase (Engine engine, TUniverse universe) |
|
virtual double | MaxCameraRadius => 2250 |
| The value for StrategyCamera.MaxRadius. More...
|
|
bool | Lighting = true |
| Use lighting in this presentation? More...
|
|
readonly ModelViewSync< Positionable< TCoordinates >, PositionableRenderable > | RenderablesSync |
|
readonly ModelViewSync< Positionable< TCoordinates >, LightSource > | LightsSync |
|
readonly Engine | Engine |
|
readonly Scene | Scene |
|
bool | WireframeTerrain [get, set] |
| Render the OmegaEngine.Graphics.Renderables.Terrain in wireframe-mode More...
|
|
bool | WireframeEntities [get, set] |
| Render all entities in wireframe-mode More...
|
|
bool | BoundingSphereEntities [get, set] |
| Visualize the bounding spheres of all entities More...
|
|
bool | BoundingBoxEntities [get, set] |
| Visualize the bounding boxes of all entities More...
|
|
Terrain | Terrain [get] |
| The OmegaEngine representation of World.Universe.Terrain More...
|
|
CameraState< Vector2 > | CameraState [get] |
| Retreives the current state of the Camera for storage in the Universe. More...
|
|
View | View |
|
TUniverse | Universe |
|
bool | Initialized |
|
bool | Disposed |
|
Performs rendering for the benchmark mode