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.

VRML97 SPECIFICATION

FILE FORMAT/DEFAULT

ACTION BEHAVIOR

EVENTS


Open Inventor by FEI reference manual, generated on 19 Aug 2019
Copyright © FEI S.A.S. All rights reserved.
http://www.openinventor.com/