Leaf Node for defining a light in the scene
Inheritance:
Public Methods
-
LightSource()
-
LightSource(const LightSource& ls, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
-
META_Node(osg, LightSource)
-
void setLight(StateAttribute* light)
- Set the attached light
-
inline StateAttribute* getLight()
- Get the attached light
-
inline 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 Fields
-
StateAttribute::GLModeValue _value
-
ref_ptr<StateAttribute> _light
Protected Methods
-
virtual ~LightSource()
-
virtual const bool computeBound() const
Inherited from Group:
Public Methods
-
virtual void traverse(NodeVisitor& nv)
-
virtual bool addChild( Node* child )
-
virtual bool removeChild( Node* child )
-
virtual bool replaceChild( Node* origChild, Node* newChild )
-
inline const unsigned int getNumChildren() const
-
inline Node* getChild( const unsigned int i )
-
inline const Node* getChild( const unsigned int i ) const
-
inline bool containsNode( const Node* node ) const
-
inline ChildList::iterator findNode( const Node* node )
-
inline ChildList::const_iterator findNode( const Node* node ) const
Protected Fields
-
ChildList _children
Documentation
Leaf Node for defining a light in the scene
- LightSource()
- LightSource(const LightSource& ls, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
- META_Node(osg, LightSource)
- void setLight(StateAttribute* light)
- Set the attached light
- inline StateAttribute* getLight()
- Get the attached light
- inline 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
- virtual ~LightSource()
- virtual const bool computeBound() const
- StateAttribute::GLModeValue _value
- ref_ptr<StateAttribute> _light
- This class has no child classes.
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.