Lights

light collection

Members

Functions

add
bool add(Light light)

returns true if light is added (not a duplicate, and enabled)

clone
Lights clone()
Undocumented in source. Be warned that the author may not have intended to support it.
remove
void remove(Light light)

// return light count definition for shaders, e.g. "DIRECTIONAL_LIGHT_COUNT 2;POINT_LIGHT_COUNT 1"

reset
void reset()
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

counts
LightCounts counts [@property getter]

returns point types by type

directionalCount
int directionalCount [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
empty
bool empty [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
pointCount
int pointCount [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
spotCount
int spotCount [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

directional
Light[] directional;
Undocumented in source.
point
Light[] point;
Undocumented in source.
spot
Light[] spot;
Undocumented in source.

Meta