LightingModel.getAmbientLight()
Type | function |
Library | wattageTileEngine.LightingModel.* |
Return value | Table |
Keywords | |
See also |
Overview
This function returns the red, green, blue, and intensity values of the ambient light.
Syntax
LightingModel.getAmbientLight()
Examples
local light = lightingModelInstance.getAmbientLight()
local red = light.r
local green = light.g
local blud = light.b
local intensity = light.intensity