IsCastingShadow

(Difference between revisions)
Jump to: navigation, search
Line 10: Line 10:
  
 
[[Category:Lua scripting]]
 
[[Category:Lua scripting]]
 +
[[Category:Lua function]]
 +
[[Category:Object]]

Revision as of 18:28, 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