getLightCastShadow
Cliente
Diz se uma luz projeta sombras.
bool getLightCastShadow(light light)
Parâmetros
| Nome | Tipo | Descrição |
|---|---|---|
| light | light | A luz. |
Retorno
true se a luz projeta sombras. false se não projeta ou com um argumento errado.
Exemplo
local light = createSpotLight(0, 0, 10, 0, 0, -1)
outputDebugString(tostring(getLightCastShadow(light))) -- false