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 feature a built-in 3D user interface (this is the only such class provided with the Open Inventor toolkit).
Since it is derived from SoSpotLight
, any changes to its fields result in a change in lighting for nodes that follow it in the scene graph. In this case, the interface modifies the Location
, Direction
, and Cut Off Angle
fields. Additionally, the Color
of the manipulator’s geometry will reflect the light’s color (but you cannot edit the color using this manipulator).
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
¶ Sets whether the light source is active.
Otherwise, the light source does not illuminate at all.
Intensity¶
-
name:
intensity
, type:
Float
, default:
1
¶ Sets the illumination intensity of the light source.
Valid values range from 0.0 (no illumination) to 1.0 (maximum illumination).
Color¶
-
name:
color
, type:
Color
, default:
1 1 1
¶ Sets the illumination color of the light source, defined by its RGB components.
Direction¶
-
name:
direction
, type:
Vector3
, default:
0 0 -1
¶ Sets the principal direction of illumination (center axis of cone).