Module Light

.

Class Light

Light:intensity (v) set/get.
Light:color (v) set/get.

Class PointLight

PointLight:radius (v) set/get.

Class SpotLight

SpotLight:cutoff (v) set/get.
SpotLight:distance (v) set/get.

Class SquareLight

SquareLight:distance (v) set/get.
SquareLight:size (v) set/get.


Class Light

.
Light:intensity (v)
set/get.

Parameters:

  • v
Light:color (v)
set/get.

Parameters:

  • v Vec3

Returns:

    Vec3 v

Class PointLight

(Light).
PointLight:radius (v)
set/get.

Parameters:

  • v

Class SpotLight

(Light).
SpotLight:cutoff (v)
set/get.

Parameters:

  • v
SpotLight:distance (v)
set/get.

Parameters:

  • v

Class SquareLight

(Light).
SquareLight:distance (v)
set/get.

Parameters:

  • v
SquareLight:size (v)
set/get.

Parameters:

  • v Vec2

Returns:

    Vec2 v
generated by LDoc 1.4.6 Last updated 2017-04-02 18:22:49