Version: 
Back to list
Scene :: createDirectionalLight
Synopsis
   Create a new directional lightGUI Dialog
   
Script function
   scene.createDirectionalLight(color, power[, direction]) -> lightParameters
   color (Color) : Color of the light
   power (Double) : Intensity of the light
   direction (Vector3) [optional] : Relative direction of the light
Return value
   light (DirectionalLight
) : The created directional light