GetLightShadowQuality
From MaratisWiki
(Difference between revisions)
Dahnielson (Talk | contribs) m |
Dahnielson (Talk | contribs) m |
||
Line 2: | Line 2: | ||
Returns a number representing quality of the shadow casted by this light. To enable or disable shadow casting use [[enableShadow]]. | Returns a number representing quality of the shadow casted by this light. To enable or disable shadow casting use [[enableShadow]]. | ||
+ | |||
+ | {{lua-function-param|object|object to operate on}} | ||
Light = getObject("LampLight") | Light = getObject("LampLight") |
Latest revision as of 00:29, 9 February 2014
getLightShadowQuality(object)
Returns a number representing quality of the shadow casted by this light. To enable or disable shadow casting use enableShadow.
-
object
: object to operate on
Light = getObject("LampLight") shadowQuality = getLightShadowQuality(Light)