CopyLight()
语法
Result = CopyLight(#Light, #NewLight)概要
Creates a new light which is the exact copy of the specified light. All light attributes such as: color, specular color, position etc. are duplicated.
参数
#Light The light to copy. #NewLight A number to identify the new light. #PB_Any can be used to auto-generate this number.
返回值
Nonzero if the light was successfully duplicated, zero otherwise. If #PB_Any was used for the #NewLight parameter then the generated number is returned on success.
已支持操作系统
所有