Difference between revisions of "API Panel.Position.Camera"
From Flowcode Help
Jump to navigationJump to search (XML import) |
|||
Line 33: | Line 33: | ||
==Examples== | ==Examples== | ||
− | + | ===SetEye=== | |
+ | |||
+ | Simple example to move the system panel camera on the panel. | ||
+ | |||
+ | {{Fcfile|CameraSetEye.fcfx|CameraSetEye}} | ||
+ | |||
+ | ===SetTarget=== | ||
+ | |||
+ | Simple example to focus the system panel camera on objects on the panel. | ||
+ | |||
+ | {{Fcfile|CameraSetTarget.fcfx|CameraSetTarget}} | ||
+ | |||
+ | ===SetLookAt=== | ||
+ | |||
+ | Simple example to move the camera and focus the camera. | ||
+ | |||
+ | {{Fcfile|CameraSetLookAt.fcfx|CameraSetLookAt}} | ||
+ | |||
==See also== | ==See also== | ||
[[API System.ShowHandle|System.ShowHandle]] | [[API System.ShowHandle|System.ShowHandle]] |
Revision as of 14:56, 11 May 2016
<sidebar>API Contents</sidebar> Camera positioning
This class is contained within Position.
Contents
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.
SetTarget
Simple example to focus the system panel camera on objects on the panel.
SetLookAt
Simple example to move the camera and focus the camera.