GetLightRadius

From MaratisWiki
(Difference between revisions)
Jump to: navigation, search
(Created page with "Get light radius. Light0 = getObject("Light0") -- Scene update function onSceneUpdate() radius = getLightRadius(Light0) end")
 
m
 
(3 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 6: Line 10:
 
         radius = getLightRadius(Light0)
 
         radius = getLightRadius(Light0)
 
     end
 
     end
 +
 +
[[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
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox