Inheritance diagram for osg::LightSource:

Public Methods | |
| LightSource () | |
| LightSource (const LightSource &ls, const CopyOp ©op=CopyOp::SHALLOW_COPY) | |
| META_Node (osg, LightSource) | |
| void | setLight (StateAttribute *light) |
| Set the attached light. | |
| StateAttribute * | getLight () |
| Get the attached light. | |
| const StateAttribute * | getLight () const |
| Get the const attached light. | |
| void | setStateSetModes (StateSet &, const StateAttribute::GLModeValue) const |
| Set the GLModes on StateSet associated with the LightSource. | |
| void | setLocalStateSetModes (const StateAttribute::GLModeValue=StateAttribute::ON) |
| Set up the local StateSet. | |
Protected Methods | |
| virtual | ~LightSource () |
| virtual const bool | computeBound () const |
| Compute the bounding sphere around Node's geometry or children. | |
Protected Attributes | |
| StateAttribute::GLModeValue | _value |
| ref_ptr< StateAttribute > | _light |
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
Compute the bounding sphere around Node's geometry or children. This method is automatically called by getBound() when the bounding sphere has been marked dirty via dirtyBound(). Reimplemented from osg::Group. |
|
|
Get the const attached light.
|
|
|
Get the attached light.
|
|
||||||||||||
|
|
|
|
Set the attached light.
|
|
|
Set up the local StateSet.
|
|
||||||||||||
|
Set the GLModes on StateSet associated with the LightSource.
|
|
|
|
|
|
|