GetLightIntensity

(Difference between revisions)
Jump to: navigation, search
m
Line 1: Line 1:
 +
{{lua-function|getLightIntensity|object}}
 +
 
Get the light intensity.
 
Get the light intensity.
  

Revision as of 18:20, 8 February 2014

getLightIntensity(object)

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