API Panel.Position.Camera: Difference between revisions
Appearance
No edit summary |
|||
| Line 47: | Line 47: | ||
===SetLookAt=== | ===SetLookAt=== | ||
Simple example to move the camera and | 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.
SetTarget
Simple example to focus the system panel camera on objects on the panel.
SetLookAt
Simple example to move the camera and control where the camera is looking.