SetCameraFar

From MaratisWiki
(Difference between revisions)
Jump to: navigation, search
m
m
 
Line 1: Line 1:
{{lua-function|setCameraFar|far}}
+
{{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()

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