PointLight

class PointLight()

Constructors


Constructors

PointLight.constructor(type, space, position, color, power, decay)
Arguments:
  • type (LightType()) –
  • space (LightSpace()) –
  • position (Point3()) –
  • color (Color) –
  • power (number()) –
  • decay (number()) –
Return type:

PointLight()

Properties

PointLight.color
Type:Color
PointLight.decay
Type:number
PointLight.position
Type:Point3
PointLight.power
Type:number
PointLight.space
Type:LightSpace
PointLight.type
Type:LightType