Home | Download | Screen shots | Discussion | Documentation |
---|
Public Member Functions | |
virtual | ~abstract_light_node ()=0 throw () |
Destroy. | |
virtual void | renderScoped (openvrml::viewer &viewer) |
Render this node as scoped. | |
virtual abstract_light_node * | to_light () const |
Downcast to a light node. | |
float | ambient_intensity () const throw () |
Ambient intensity. | |
float | intensity () const throw () |
Intensity. | |
bool | on () const throw () |
Whether the light is on. | |
const openvrml::color & | color () const throw () |
Light color. | |
Protected Member Functions | |
abstract_light_node (const node_type &type, const boost::shared_ptr< openvrml::scope > &scope) | |
Construct. | |
Protected Attributes | |
exposedfield< sffloat > | ambient_intensity_ |
ambientIntensity exposedField. | |
exposedfield< sfcolor > | color_ |
color exposedField. | |
exposedfield< sffloat > | intensity_ |
intensity exposedField. | |
exposedfield< sfbool > | on_ |
on exposedField. |
|
Destroy.
|
|
Construct.
|
|
Render this node as scoped. The default version of this method does nothing.
Reimplemented in openvrml::vrml97_node::point_light_node, and openvrml::vrml97_node::spot_light_node. |
|
Downcast to a light node.
Reimplemented from openvrml::node. |
|
Ambient intensity.
|
|
Intensity.
|
|
Whether the light is on.
|
|
Light color.
|
|
ambientIntensity exposedField.
|
|
color exposedField.
|
|
intensity exposedField.
|
|
on exposedField.
|