LightSource

Undocumented in source.

Constructors

this
this(Owner o)
Undocumented in source.
this
this(Vector3f pos, Vector3f col, float attRadius, float areaRadius, float energy, Owner o)
Undocumented in source.

Members

Functions

direction
Vector3f direction()
Undocumented in source. Be warned that the author may not have intended to support it.
directionEye
Vector3f directionEye(Matrix4x4f viewMatrix)
Undocumented in source. Be warned that the author may not have intended to support it.
renderShadow
void renderShadow(Scene scene, RenderingContext* rc)
Undocumented in source. Be warned that the author may not have intended to support it.
shadow
bool shadow()
Undocumented in source. Be warned that the author may not have intended to support it.
shadow
void shadow(bool mode)
Undocumented in source. Be warned that the author may not have intended to support it.
updateShadow
void updateShadow(Vector3f cameraPosition, Vector3f cameraDirection, RenderingContext* rc, double timeStep)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

areaRadius
float areaRadius;
Undocumented in source.
color
Vector3f color;
Undocumented in source.
energy
float energy;
Undocumented in source.
position
Vector3f position;
Undocumented in source.
radius
float radius;
Undocumented in source.
rotation
Quaternionf rotation;
Undocumented in source.
shadowEnabled
bool shadowEnabled;
Undocumented in source.
shadowMap
ShadowMap shadowMap;
Undocumented in source.
spotInnerCutoff
float spotInnerCutoff;
Undocumented in source.
spotOuterCutoff
float spotOuterCutoff;
Undocumented in source.
tubeLength
float tubeLength;
Undocumented in source.
type
LightType type;
Undocumented in source.

Meta