Light

class Communicator.Light()

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

Constructors

Properties


Constructors

Light.constructor(type, space, position, color)
Arguments
Return type

Light()

Properties

Light.color
Type

Color()

The light’s color.

Light.position
Type

Point3()

The light’s position in the scene. See LightType.Directional for information on how the position is interpreted for directional lights.

Light.space
Type

LightSpace

The space in which the light’s position is defined.

Light.type
Type

LightType

The light’s type.