CopyLight()

Syntax

CopyLight(#Light, #NewLight)
Description
Creates a #NewLight which is the exact copy of the specified #Light. All the #Light attributes like color, specular color, position etc.. are duplicated. If the #NewLight was already created, it is automatically freed and replaced by the new one.

Supported OS

Windows, Linux

Light Index - CreateLight() ->