NAME
SoDirectionalLight – node representing a directional light source
INHERITS FROM
SoDirectionalLight
SYNOPSIS
#include <Inventor/nodes/SoDirectionalLight.h>
Fields from class SoDirectionalLight:
Methods from class SoDirectionalLight:
static SoType getClassTypeId()
void setOverride(SbBool state)
virtual SbBool affectsState() const
SbBool hasDefaultValues() const
SbBool set(const char *fieldDataString)
SbBool isNotifyEnabled() const
void unrefNoDelete() const
virtual SoType getTypeId() const
virtual void setName(const SbName &name)
virtual SbName getName() const
DESCRIPTION
This node defines a directional light source that illuminates along rays parallel to a given 3-dimensional vector.
FIELDS
SoSFVec3f direction
Illumination direction vector.
METHODS
SoDirectionalLight()
Creates a directional light source node with default settings.
static SoType getClassTypeId()
Returns type identifier for this class.
ACTION BEHAVIOR
Activates this light (if so specified) during traversal. All shape nodes that come after this light in the scene graph are illuminated by this light. The light's direction is affected by the current transformation.
FILE FORMAT/DEFAULTS
SEE ALSO
Typeset by Felix Ritter (MeVis Research GmbH)
Hyperlinks by Wolfram Esser (method park Software AG)