SetCameraNear

From MaratisWiki
(Difference between revisions)
Jump to: navigation, search
(Created page with "Set near clipping plane for the camera. Parts of the objects that are closer than near clipping plane will not be rendered. Camera = getCurrentCamera() setCameraNear(Camera...")
 
m
 
(3 intermediate revisions by one user not shown)
Line 1: Line 1:
 +
{{lua-function|setCameraNear|object, near}}
 +
 
Set near clipping plane for the camera. Parts of the objects that are closer than near clipping plane will not be rendered.
 
Set near clipping plane for the camera. Parts of the objects that are closer than near clipping plane will not be rendered.
 +
 +
{{lua-function-param|object|object to operate on}}
 +
{{lua-function-param|near|near plane}}
  
 
  Camera = getCurrentCamera()
 
  Camera = getCurrentCamera()
 
  setCameraNear(Camera, 1.0)
 
  setCameraNear(Camera, 1.0)
 +
 +
[[Category:Lua scripting]]
 +
[[Category:Lua function]]
 +
[[Category:Camera]]

Latest revision as of 01:07, 9 February 2014

setCameraNear(object, near)

Set near clipping plane for the camera. Parts of the objects that are closer than near clipping plane will not be rendered.

  • object : object to operate on
  • near : near plane
Camera = getCurrentCamera()
setCameraNear(Camera, 1.0)
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox