GetLightIntensity
(Difference between revisions)
(Created page with "Get the light intensity. Light0 = getObject("Light0") -- Scene update function onSceneUpdate() flash = getLightIntensity(Light0) -- you can rename flash ...") |
Dahnielson (Talk | contribs) |
||
| Line 8: | Line 8: | ||
Advanced use in setLightIntensity over here : [[http://wiki.maratis3d.org/index.php?title=SetLightIntensity]] | Advanced use in setLightIntensity over here : [[http://wiki.maratis3d.org/index.php?title=SetLightIntensity]] | ||
| + | |||
| + | [[Category:Lua scripting]] | ||
Revision as of 18:09, 4 February 2014
Get the light intensity.
Light0 = getObject("Light0")
-- Scene update
function onSceneUpdate()
flash = getLightIntensity(Light0) -- you can rename flash to whatever you like
end
Advanced use in setLightIntensity over here : [[1]]