GetLightRadius
(Difference between revisions)
Dahnielson (Talk | contribs) |
Dahnielson (Talk | contribs) |
||
| Line 8: | Line 8: | ||
[[Category:Lua scripting]] | [[Category:Lua scripting]] | ||
| + | [[Category:Lua function]] | ||
| + | [[Category:Light]] | ||
Revision as of 18:38, 4 February 2014
Get light radius.
Light0 = getObject("Light0")
-- Scene update
function onSceneUpdate()
radius = getLightRadius(Light0)
end