Light
Constructors
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.Directionalfor 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.