Workspace 6.21.5
|
Creates a DirectionalLight; a light that shines uniformly in a single direction from an infinite distance away from the scene. By default, the light will shine in the direction (0,0,1). It must be added to a TransformBuilder in order to modify its direction.
Inputs: | |||
---|---|---|---|
Enabled | bool | If enabled, the light will be active in the Scene. | |
Intensity | double | Convenience control for reducing the light's intensity. A value of 0.0 means the light is not emitting, and a value of 1.0 means that 100% of the specified color is being emitted. | |
Color | QColor | ||
Outputs: | |||
Directional light | CSIRO::Rendering::DirectionalLight | A directional light, which shines uniformly in a single direction and can be considered to be an infinite distance away from the Scene. |