#include <eclight.h>
Public Member Functions | |
SpotLight (const char *a_sID, YRColorRGB a_color, float a_fConeAngle, YRPoint3D a_from, YRPoint3D a_to, float a_fPower, float a_fFalloff) | |
Complete constructor. | |
Protected Member Functions | |
virtual PYOBJECT | GetPyStringRep () |
Provide a string representation of this child. | |
virtual void | DeleteObject () |
Child message hook for reference-count based destruction. |
Definition at line 268 of file eclight.h.
SpotLight::SpotLight | ( | const char * | a_sID, | |
YRColorRGB | a_color, | |||
float | a_fConeAngle, | |||
YRPoint3D | a_from, | |||
YRPoint3D | a_to, | |||
float | a_fPower, | |||
float | a_fFalloff | |||
) |
Complete constructor.
a_sID | Unique ID | |
a_color | Color for this light | |
a_fConeAngle | Cone angle in degrees, from 0 to 180 | |
a_from | Position for this light | |
a_to | Target point (NOT a directional vector) for this light | |
a_fPower | Intensity multiplier | |
a_fFalloff | width of falloff effect, from 0 to 1 |
virtual void SpotLight::DeleteObject | ( | ) | [protected, virtual] |
Child message hook for reference-count based destruction.
The child class is responsible for deleting any instance to which this this function is called.
Reimplemented from EclipseObject.