SoDirectionalLightManip

InventorModule
genre InventorManipulators
author Silicon Graphics Inc
package MeVisLab/Standard
definition inventor.def

Purpose

SoDirectionalLightManip is the base class for all SoDirectionalLight nodes that have a built-in 3D user interface (this is the only such class provided with the Inventor toolkit).

Since it is derived from SoDirectionalLight, any changes to its fields result in a change of lighting for nodes that follow it in the scene graph. In this case, the interface edits the direction field.

Also, the color of the manipulator’s geometry will reflect the color of the light (but you cannot edit the color using this manipulator).

Windows

Default Panel

../../../Modules/Inventor/InventorBase/mhelp/Images/Screenshots/SoDirectionalLightManip._default.png

Output Fields

self

name: self, type: SoNode

Parameter Fields

Visible Fields

On

name: on, type: Bool, default: TRUE

Determines whether the manipulator is active or inactive. When inactive, the manipulator does not illuminate at all.

Intensity

name: intensity, type: Float, default: 1

Illumination intensity of light source. Valid values range from 0.0 (no illumination) to 1.0 (maximum illumination).

Color

name: color, type: Color, default: 1 1 1

Light source illumination color. RGB components of light.

Direction

name: direction, type: Vector3, default: 0 0 -1

Illumination direction vector.