SetLightShadowBlur
From MaratisWiki
(Difference between revisions)
Dahnielson (Talk | contribs) |
Dahnielson (Talk | contribs) m |
||
(2 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
+ | {{lua-function|setLightShadowBlur|object, blur}} | ||
+ | |||
Set the amount of blur on the shadows casted by this light. | Set the amount of blur on the shadows casted by this light. | ||
+ | |||
+ | {{lua-function-param|object|object to operate on}} | ||
+ | {{lua-function-param|blur|shadow blur}} | ||
Light = getObject("Light") | Light = getObject("Light") | ||
Line 5: | Line 10: | ||
[[Category:Lua scripting]] | [[Category:Lua scripting]] | ||
+ | [[Category:Lua function]] | ||
+ | [[Category:Light]] |
Latest revision as of 00:31, 9 February 2014
setLightShadowBlur(object, blur)
Set the amount of blur on the shadows casted by this light.
-
object
: object to operate on -
blur
: shadow blur
Light = getObject("Light") setLightShadowBlur(Light, 1.0)