IsLight()

语法

Result = IsLight(#Light)
概要
Tests if the given light is valid and correctly initialized.

参数

#Light The light to test.

返回值

Nonzero if the light is valid, zero otherwise.

Remarks

This function is bulletproof and may be used with any value. This is the correct way to ensure a light is ready to use.

参阅

CreateLight()

已支持操作系统

所有

<- HideLight() - Light Index - LightAttenuation() ->