# Light

class Light()

  Contains properties of a light. More information can be found [here](https://docs.techsoft3d.com/communicator/latest/prog_guide/viewing/scene_attributes/lights.html).

Constructors

- `constructor()`

Properties

- `color`

- `position`

- `space`

- `type`

## Constructors

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

    - type (`LightType()`) – The light’s type. See [[type]].

    - space (`LightSpace()`) – The space in which a light is defined. See [[space]]

    - position (`Point3()`) – The light’s position. See [[position]].

    - color (`Color()`) – The light’s color. See [[color]].

  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.