GetLightShadowQuality

From MaratisWiki
(Difference between revisions)
Jump to: navigation, search
(Created page with "Returns a number representing quality of the shadow casted by this light. To enable or disable shadow casting use enableShadow. light = getObject("LampLight") shadowQua...")
 
m
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
{{lua-function|getLightShadowQuality|object}}
 +
 
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]].
  
  light = getObject("LampLight")
+
{{lua-function-param|object|object to operate on}}
  shadowQuality = getLightShadowQuality(light)
+
 
 +
  Light = getObject("LampLight")
 +
  shadowQuality = getLightShadowQuality(Light)
 +
 
 +
[[Category:Lua scripting]]
 +
[[Category:Lua function]]
 +
[[Category:Light]]

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)
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox