LightManager

Undocumented in source.

Constructors

this
this(Owner o)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

addPointLight
LightSource addPointLight(Vector3f position, Color4f color, float energy, float radius, float areaRadius)
Undocumented in source. Be warned that the author may not have intended to support it.
addSpotLight
LightSource addSpotLight(Vector3f position, Color4f color, float energy, Quaternionf rotation, float outerCutoff, float innerCutoff, float volumeRadius)
Undocumented in source. Be warned that the author may not have intended to support it.
addSunLight
LightSource addSunLight(Quaternionf rotation, Color4f color, float energy)
Undocumented in source. Be warned that the author may not have intended to support it.
renderShadows
void renderShadows(Scene scene, RenderingContext* rc)
Undocumented in source. Be warned that the author may not have intended to support it.
updateShadows
void updateShadows(View view, RenderingContext* rc, double timeStep)
Undocumented in source. Be warned that the author may not have intended to support it.
updateShadows
void updateShadows(Vector3f cameraPosition, Vector3f cameraDirection, RenderingContext* rc, double timeStep)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

lightSources
DynamicArray!LightSource lightSources;
Undocumented in source.

Meta