API Panel.Position.Camera

From Flowcode Help
Jump to navigationJump to search

<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 control the position of the system panel camera by providing the object or position handle of where we want the camera to be.

FC6 Icon.png CameraSetEye

SetTarget

Simple example to control the angle of the system panel camera by providing the object or position handle of what we want the camera to look at.

FC6 Icon.png CameraSetTarget

SetLookAt

Simple example to move the camera and control where the camera is looking by providing two objects or position handles.

FC6 Icon.png CameraSetLookAt

See also

System.ShowHandle