Home | Download | Screen shots | Discussion | Documentation | Links |
---|
Inheritance diagram for AbstractLight:
Public Methods | |
virtual | ~AbstractLight ()=0 throw () |
Destructor. | |
virtual void | renderScoped (Viewer *) |
Render this node as scoped. | |
virtual AbstractLight * | toLight () const |
Downcast to a light node. | |
float | getAmbientIntensity () const |
float | getIntensity () const |
bool | getOn () const |
SFColor::ConstArrayReference | getColor () const |
Protected Methods | |
AbstractLight (const NodeType &nodeType, const ScopePtr &scope) | |
Constructor. | |
void | processSet_ambientIntensity (const FieldValue &sffloat, double timestamp) throw (std::bad_cast) |
set_ambientIntensity eventIn handler. | |
void | processSet_color (const FieldValue &sfcolor, double timestamp) throw (std::bad_cast) |
set_color eventIn handler. | |
void | processSet_intensity (const FieldValue &sffloat, double timestamp) throw (std::bad_cast) |
set_intensity eventIn handler. | |
void | processSet_on (const FieldValue &sfbool, double timestamp) throw (std::bad_cast) |
set_on eventIn handler. | |
Protected Attributes | |
SFFloat | ambientIntensity |
SFColor | color |
SFFloat | intensity |
SFBool | on |
|
Destructor.
|
|
Constructor.
|
|
set_ambientIntensity eventIn handler.
|
|
set_color eventIn handler.
|
|
set_intensity eventIn handler.
|
|
set_on eventIn handler.
|
|
Render this node as scoped. The default version of this method does nothing.
Reimplemented in SpotLight. |
|
Downcast to a light node.
Reimplemented from Node. |