SoVRMLDirectionalLight Class Reference
[VRML97 nodes]

VSG extension Node representing a directional light source. More...

#include <Inventor/VRMLnodes/SoVRMLDirectionalLight.h>

Inheritance diagram for SoVRMLDirectionalLight:
SoVRMLLight SoVRMLNode SoNode SoFieldContainer SoBase SoRefCounter SoTypedObject

List of all members.

Public Member Functions

virtual SoType getTypeId () const
 SoVRMLDirectionalLight ()

Static Public Member Functions

static SoType getClassTypeId ()

Public Attributes

SoSFVec3f direction

Detailed Description

VSG extension Node representing a directional light source.

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.





Open Inventor Toolkit reference manual, generated on 18 Jul 2022
Copyright © Thermo Fisher Scientific All rights reserved.