Light

class Communicator.Light()

Contains properties of a light. More information can be found here.

Constructors

Properties


Constructors

constructor

Communicator.Light.constructor(type, space, position, color)
Arguments
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.