IsLight()

Syntax

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

Parameters

#Light The light to test.

Return value

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.

See Also

CreateLight()

Supported OS

All

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