GetLightIntensity

From MaratisWiki
Revision as of 01:54, 11 April 2012 by Vegas (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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]]

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox