getLightIntensity
Cliente
Lê o brilho de uma luz.
float|false getLightIntensity(light light)
Parâmetros
| Nome | Tipo | Descrição |
|---|---|---|
| light | light | A luz. |
Retorno
O multiplicador de brilho, ou false com um argumento errado.
Exemplo
local light = createPointLight(0, 0, 5)
outputDebugString(getLightIntensity(light)) -- 1