PointLight Class
The PointLight class is used to render a light with a full 360 degree range. When calculating shadows from this type of light they are calculated from a single point
Constructor
PointLight
(
-
[parameters]
Parameters:
-
[parameters]
Object optionalParameters is an object that contains the PointLights properties
-
[x=0]
Number optionalX position
-
[y=0]
Number optionalY position
-
[colour=new LE.Colour(255, 255, 255, 255)]
Colour optionalColour, default is white
-
[intensity=0.1]
Number optionalLight intensity/brightness
-
[shader=LE.LightShaders.POINT_LIGHT]
Number optionalIndex of the shader used during rendering
-