#include <eclight.h>
Public Member Functions | |
virtual | ~Light () |
Destructor. | |
YRLight * | GetLight () |
Access the YR light object. | |
virtual PYOBJECT | PyAsString () |
Python text representation method This function must be implemented by all children. | |
Static Public Member Functions | |
static bool | PyTypeCheck (PYOBJECT a_pObject) |
Python type check Verifies that the provided python object encapsulates a light. | |
Protected Member Functions | |
Light () | |
Default constructor. Usable by children only. | |
YRLight *& | GetYRLight () |
Provides access to our raytracer light. | |
int & | ShadowSamples () |
Access to our shadow samples. | |
YRColorRGB & | ShadowColor () |
Access our shadow color. | |
virtual PYOBJECT | GetPyStringRep () ECLIPSE_PURE |
Provide a string representation of this child. |
Base light class for light definitions coming from the DA toolset.
It also provides means for representing them internally in our raytraced scene.
Concrete implementations of this class are essentially managers for the different types of lights supported by the raytracer.
Yafray Lights are implicitly owned by their environment
Definition at line 47 of file eclight.h.
virtual PYOBJECT Light::PyAsString | ( | ) | [virtual] |
Python text representation method This function must be implemented by all children.
Reimplemented from EclipseObject.
static bool Light::PyTypeCheck | ( | PYOBJECT | a_pObject | ) | [static] |
Python type check Verifies that the provided python object encapsulates a light.
Reimplemented from EclipseObject.