Node representing a directional light source. More...
#include <Inventor/VRMLnodes/SoVRMLDirectionalLight.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
SoVRMLDirectionalLight () | |
Static Public Member Functions | |
static SoType | getClassTypeId () |
Public Attributes | |
SoSFVec3f | direction |
The SoVRMLDirectionalLight node defines a directional light source that illuminates along rays parallel to a given 3-dimensional vector.
NOTE: This class does not exist in Open Inventor 10.0 and later.The direction field specifies the direction vector within the local coordinate system that the light illuminates in. 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.
This section may reference portions of the VRML97 specification that are not present in this help file. The complete VRML97 spec is available at http://www.web3d.org .
The SoVRMLDirectionalLight node defines a directional light source that illuminates along rays parallel to a given 3-dimensional vector. See "Concepts - Lights" for a definition of the ambientIntensity , color , intensity , and on fields.
The direction field specifies the direction vector within the local coordinate system that the light illuminates in. 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.
See "Concepts - Lighting Model" for a precise description of VRML's lighting equations.
ambientIntensity | 0 |
color | 1 1 1 |
direction | 0 0 -1 |
intensity | 1 |
on | TRUE |
metadata | NULL |
SoSFFloat | set_ambientIntensity |
SoSFColor | set_color |
SoSFVec3f | set_direction |
SoSFFloat | set_intensity |
SoSFBool | set_on |
SoSFNode | set_metadata |
SoSFFloat | ambientIntensity_changed |
SoSFColor | color_changed |
SoSFVec3f | direction_changed |
SoSFFloat | intensity_changed |
SoSFBool | on_changed |
SoSFNode | metadata_changed |
SoVRMLDirectionalLight::SoVRMLDirectionalLight | ( | ) |
Constructor.
static SoType SoVRMLDirectionalLight::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoVRMLLight.
virtual SoType SoVRMLDirectionalLight::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Reimplemented from SoVRMLLight.
Illumination direction vector.