SoDirectionalLightManip¶
- InventorModule¶
genre
author
package
definition
Purpose¶
The node SoDirectionalLightManip is the base class for all SoDirectionalLight nodes that feature a built-in 3D user interface; this is the only such class provided with the Open Inventor toolkit.
Since it derives from SoDirectionalLight, any changes to its fields result in altered lighting for nodes that follow it in the scene graph. In this case, the interface modifies the direction field.
Additionally, the color of the manipulator’s geometry reflects the color of the light, although the color cannot be edited using this manipulator.
Windows¶
Default Panel¶
Output Fields¶
self¶
- name: self, type: SoNode¶
Parameter Fields¶
Visible Fields¶
On¶
- name: on, type: Bool, default: TRUE¶
If checked, this manipulator is active.
Intensity¶
- name: intensity, type: Float, default: 1¶
Sets the 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¶
Sets the illumination color of the light source, defined by its RGB components.
Direction¶
- name: direction, type: Vector3, default: 0 0 -1¶
Sets the illumination direction vector.