SoSpotLight¶
-
InventorModule
¶ genre InventorNodesAutomatic,InventorLights
author Silicon Graphics Inc
package MeVisLab/Standard
definition inventor.def
Purpose¶
The node SoSpotLight
defines a spotlight-style light source.
A spotlight is positioned at a fixed location in 3D space and illuminates in a cone along a specific direction. The intensity of the illumination decreases exponentially as a ray of light diverges from this direction toward the edges of the cone. The rate of drop-off and the angle of the cone are controlled by the Drop Off Rate
and Cut Off Angle
fields.
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
¶ If checked, the 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).