Difference between revisions of "API Panel.Position.Camera"

From Flowcode Help
Jump to navigationJump to search
Line 47: Line 47:
 
===SetLookAt===
 
===SetLookAt===
  
Simple example to move the camera and focus the camera.
+
Simple example to move the camera and control where the camera is looking.
  
 
{{Fcfile|CameraSetLookAt.fcfx|CameraSetLookAt}}
 
{{Fcfile|CameraSetLookAt.fcfx|CameraSetLookAt}}
 
  
 
==See also==
 
==See also==
 
[[API System.ShowHandle|System.ShowHandle]]
 
[[API System.ShowHandle|System.ShowHandle]]

Revision as of 15:00, 11 May 2016

<sidebar>API Contents</sidebar> Camera positioning

This class is contained within Position.

Functions provided for this class

GetEye Gets a handle to the eye camera position
GetTarget Gets a handle to the target camera position
SetView Sets the eye and target focal point of the camera
SetLookAt Sets the eye and target point of the camera
SetEye Sets the eye point of the camera
SetTarget Sets the target point of the camera
Spin Rotates the camera along its view axis


Examples

SetEye

Simple example to move the system panel camera on the panel.

FC6 Icon.png CameraSetEye

SetTarget

Simple example to focus the system panel camera on objects on the panel.

FC6 Icon.png CameraSetTarget

SetLookAt

Simple example to move the camera and control where the camera is looking.

FC6 Icon.png CameraSetLookAt

See also

System.ShowHandle