IsCastingShadow

(Difference between revisions)
Jump to: navigation, search
m
Line 1: Line 1:
 +
{{lua-function|isCastingShadow|object}}
 +
 
Check if light has shadow casting enabled.
 
Check if light has shadow casting enabled.
  

Revision as of 18:36, 8 February 2014

isCastingShadow(object)

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