SetCameraNear
From MaratisWiki
(Difference between revisions)
Dahnielson (Talk | contribs) m |
Dahnielson (Talk | contribs) m |
||
Line 2: | Line 2: | ||
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() |
Latest revision as of 00: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)