Class RenderScene¶
Namespace: Apogee.Rendering
Assembly: Apogee.Rendering.dll
One
public sealed class RenderScene : IDisposable
Inheritance¶
Implements¶
Inherited Members¶
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Properties¶
AmbientGround¶
public Vector3 AmbientGround { get; set; }
Property Value¶
AmbientSky¶
public Vector3 AmbientSky { get; set; }
Property Value¶
BoundsMax¶
public Vector3 BoundsMax { get; }
Property Value¶
BoundsMin¶
public Vector3 BoundsMin { get; }
Property Value¶
Lights¶
Point and spot lights, relative to
public List<LightData> Lights { get; }
Property Value¶
MeshCount¶
public int MeshCount { get; }
Property Value¶
Model¶
The model this scene shows, which it owns.
public GpuModel Model { get; }
Property Value¶
Name¶
public string Name { get; }
Property Value¶
Origin¶
Where the model's origin is in the world. Set it to move the whole scene; the model's coordinates stay relative to it.
public Double3 Origin { get; set; }
Property Value¶
SunColor¶
public Vector3 SunColor { get; set; }
Property Value¶
SunDirection¶
The direction toward the sun (unit length), and its color times illuminance. Zero color turns the sun off.
public Vector3 SunDirection { get; set; }
Property Value¶
Methods¶
Dispose()¶
Frees the model. Draw frames that use the scene first (the GPU is waited for).
public void Dispose()