getLightFalloff
Cliente
Lê o expoente de desvanecimento de uma luz.
float|false getLightFalloff(light light)
Parâmetros
| Nome | Tipo | Descrição |
|---|---|---|
| light | light | A luz. |
Retorno
O expoente, de 0.1 a 32, ou false com um argumento errado.
Exemplo
local light = createPointLight(0, 0, 5)
outputDebugString(getLightFalloff(light)) -- 4