IsCastingShadow
From MaratisWiki
Revision as of 00:16, 9 February 2014 by Dahnielson (Talk | contribs)
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