SetCameraFar
From MaratisWiki
(Difference between revisions)
(Created page with "Set far clipping plane for the camera. Parts of the objects that are farther than far clipping plane will not be rendered. Camera = getCurrentCamera() setCameraFar(Camera, ...") |
Dahnielson (Talk | contribs) m |
||
(3 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
+ | {{lua-function|setCameraFar|object, far}} | ||
+ | |||
Set far clipping plane for the camera. Parts of the objects that are farther than far clipping plane will not be rendered. | Set far clipping plane for the camera. Parts of the objects that are farther than far clipping plane will not be rendered. | ||
+ | |||
+ | {{lua-function-param|object|object to operate on}} | ||
+ | {{lua-function-param|far|far plane}} | ||
Camera = getCurrentCamera() | Camera = getCurrentCamera() | ||
setCameraFar(Camera, 1024) | setCameraFar(Camera, 1024) | ||
+ | |||
+ | [[Category:Lua scripting]] | ||
+ | [[Category:Lua function]] | ||
+ | [[Category:Camera]] |
Latest revision as of 00:08, 9 February 2014
setCameraFar(object, far)
Set far clipping plane for the camera. Parts of the objects that are farther than far clipping plane will not be rendered.
-
object
: object to operate on -
far
: far plane
Camera = getCurrentCamera() setCameraFar(Camera, 1024)