Environment

Environment.

Constructors

this
this(GraphicsDevice graphics)

Environment constructor.

Members

Functions

addPointLight
void addPointLight(PointLight light)

Adds a point light to the scene.

dispose
void dispose()

Environment destructor.

set
void set()

Sets environment for the next frame.

Manifest constants

MAX_POINTS_LIGHTS
enum MAX_POINTS_LIGHTS;
Undocumented in source.

Properties

ambientLight
AmbientLight ambientLight [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
ambientLight
AmbientLight ambientLight [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
pointsLights
DynamicArray!PointLight pointsLights [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
sun
DirectionalLight sun [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
sun
DirectionalLight sun [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
sunView
mat4 sunView [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
sunView
mat4 sunView [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Meta