#include <eclight.h>
Public Member Functions | |
AreaLight (const char *a_sID, const YRColorRGB &a_color, const YRPoint3D &a_corner, const YRPoint3D &a_point1, const YRPoint3D &a_point2, float a_fPower, int a_nSamples) | |
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 184 of file eclight.h.
AreaLight::AreaLight | ( | const char * | a_sID, | |
const YRColorRGB & | a_color, | |||
const YRPoint3D & | a_corner, | |||
const YRPoint3D & | a_point1, | |||
const YRPoint3D & | a_point2, | |||
float | a_fPower, | |||
int | a_nSamples | |||
) |
Complete constructor.
a_sID | Unique light ID | |
a_color | Color emitted by the light | |
a_corner | One corner of the rectangular light shape | |
a_point1 | One edge | |
a_point2 | The other edge | |
a_fPower | Light intensity | |
a_nSamples | Number of samples to be taken for lighting |
virtual void AreaLight::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.