Version: 
Back to list

Scene :: createPositionalLight

Synopsis

   Create a new positional light

GUI Dialog

   

Script function

   scene.createPositionalLight(color, power[, position]) -> light

Parameters

   color (Color) : Color of the light
   power (Double) : Intensity of the light
   position (Point3[optional] : Relative position of the light

Return value

   light (PositionalLight) : The created positional light