IsCastingShadow

From MaratisWiki
Jump to: navigation, search

isCastingShadow(object)

Check if light has shadow casting enabled.

  • object : object to operate on
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