IsCastingShadow

(Difference between revisions)
Jump to: navigation, search
m
Line 8: Line 8:
  
 
To enable or disable shadow casting use [[enableShadow]]
 
To enable or disable shadow casting use [[enableShadow]]
 +
 +
[[Category:Lua scripting]]

Revision as of 18:04, 4 February 2014

Check if light has shadow casting enabled.

if isCastingShadow(lightObject) then
    -- Shadow casting is enabled
else
    -- Shadow casting is disabled
end

To enable or disable shadow casting use enableShadow

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox