LightParams

Undocumented in source.

Members

Functions

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

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

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

Properties

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

Variables

_lights
Lights _lights;
Undocumented in source.
u_directionalLightColor
vec3[] u_directionalLightColor;
Undocumented in source.
u_directionalLightDirection
vec3[] u_directionalLightDirection;
Undocumented in source.
u_pointLightColor
vec3[] u_pointLightColor;
Undocumented in source.
u_pointLightPosition
vec3[] u_pointLightPosition;
Undocumented in source.
u_pointLightRangeInverse
float[] u_pointLightRangeInverse;
Undocumented in source.
u_spotLightColor
vec3[] u_spotLightColor;
Undocumented in source.
u_spotLightDirection
vec3[] u_spotLightDirection;
Undocumented in source.
u_spotLightInnerAngleCos
float[] u_spotLightInnerAngleCos;
Undocumented in source.
u_spotLightOuterAngleCos
float[] u_spotLightOuterAngleCos;
Undocumented in source.
u_spotLightPosition
vec3[] u_spotLightPosition;
Undocumented in source.
u_spotLightRangeInverse
float[] u_spotLightRangeInverse;
Undocumented in source.

Meta