SoSpotLightManip

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

Purpose

SoSpotLightManip is the base class for all SoSpotLight 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 SoSpotLight, 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 Location, Direction, and Cut Off Angle fields. Also, the Color of the manipulator’s geometry will reflect the color of the light (but you can not edit the color using this manipulator).

Windows

Default Panel

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

Output Fields

self

name: self, type: SoNode

Parameter Fields

Field Index

Color: Color
Cut Off Angle: Float
Direction: Vector3
Drop Off Rate: Float
Intensity: Float
Location: Vector3
On: Bool

Visible Fields

On

name: on, type: Bool, default: TRUE

Determines whether the source is active or inactive.

When inactive, the source 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.

Location

name: location, type: Vector3, default: 0 0 1

Location of the source.

Direction

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

Principal direction of illumination (center axis of cone).

Drop Off Rate

name: dropOffRate, type: Float, default: 0

Rate of intensity drop-off per change in angle from primary direction: 0 = constant intensity, 1 = very sharp drop-off.

Cut Off Angle

name: cutOffAngle, type: Float, default: 0.78539819

Angle (in radians) outside of which intensity is zero, measured from the center axis of the cone to an edge.