GetLightRadius
From MaratisWiki
(Difference between revisions)
Dahnielson (Talk | contribs) |
Dahnielson (Talk | contribs) m |
||
| (One intermediate revision 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") | ||
Latest revision as of 00: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