Public Member Functions
|DirectionalLight (Inst< SFNode > _metadata=0, Inst< SFFloat > _ambientIntensity=0, Inst< SFColor > _color=0, Inst< SFFloat > _intensity=0, Inst< SFBool > _on=0, Inst< SFBool > _global=0, Inst< SFVec3f > _direction=0)|
|virtual void||enableGraphicsState ()|
|Turn the light on. |
|auto_ptr< SFVec3f >||direction|
|The direction field specifies the direction vector of the illumination emanating from the light source in the local coordinate system. |
Static Public Attributes
|The H3DNodeDatabase for this node. |
The direction field specifies the direction vector of the illumination emanating from the light source in the local coordinate system. Light is emitted along parallel rays from an infinite distance away. A directional light source illuminates only the objects in its enclosing parent group. The light may illuminate everything within this coordinate system, including all children and descendants of its parent group. The accumulated transformations of the parent nodes affect the light.
DirectionalLight nodes do not attenuate with distance.