GetLightRadius
From MaratisWiki
(Difference between revisions)
Dahnielson (Talk | contribs) |
Dahnielson (Talk | contribs) m |
||
(2 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
+ | {{lua-function|getLightRadious|object}} | ||
+ | |||
Get light radius. | Get light radius. | ||
+ | |||
+ | {{lua-function-param|object|object to operate on}} | ||
Light0 = getObject("Light0") | Light0 = getObject("Light0") | ||
Line 8: | Line 12: | ||
[[Category:Lua scripting]] | [[Category:Lua scripting]] | ||
+ | [[Category:Lua function]] | ||
+ | [[Category:Light]] |
Latest revision as of 01:29, 9 February 2014
getLightRadious(object)
Get light radius.
-
object
: object to operate on
Light0 = getObject("Light0") -- Scene update function onSceneUpdate() radius = getLightRadius(Light0) end