Light
Constructors
Properties
The light’s color. |
|
The light’s position in the scene. See… |
|
The space in which the light’s position is defined. |
|
The light’s type. |
Constructors
constructor
- Communicator.Light.constructor(type, space, position, color)
- Arguments
type (
Communicator.LightType()
) –space (
Communicator.LightSpace()
) –position (
Communicator.Point3()
) –color (
Communicator.Color()
) –
- Return type
Communicator.Light
Properties
- Communicator.Light.color
The light’s color.
- Communicator.Light.position
The light’s position in the scene. See
LightType.Directional
for information on how the position is interpreted for directional lights.
- Communicator.Light.space
The space in which the light’s position is defined.
- Communicator.Light.type
The light’s type.