Class RenderWorld¶
Namespace: Apogee.Rendering
Assembly: Apogee.Rendering.dll
An ECS
public sealed class RenderWorld : IDisposable
Inheritance¶
Implements¶
Inherited Members¶
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors¶
RenderWorld(World, ModelLibrary)¶
public RenderWorld(World world, ModelLibrary models)
Parameters¶
world World
models ModelLibrary
Properties¶
AmbientGround¶
public Vector3 AmbientGround { get; set; }
Property Value¶
AmbientSky¶
public Vector3 AmbientSky { get; set; }
Property Value¶
DefaultSunColor¶
public Vector3 DefaultSunColor { get; set; }
Property Value¶
DefaultSunDirection¶
The direction toward the sun and its color times illuminance when no directional
public Vector3 DefaultSunDirection { get; set; }
Property Value¶
World¶
public World World { get; }
Property Value¶
Methods¶
Dispose()¶
Releases the queries. The world and the models are not owned.
public void Dispose()
TryGetMainCamera(Camera)¶
Copies the main camera's placement and lens into camera. False, and the camera untouched, when no entity is a
public bool TryGetMainCamera(Camera camera)
Parameters¶
camera Camera