FormIt.Cameras namespace.
Functions | |
json | GetCameraData () |
Get the parameters that define the current camera. | |
json | GetCameraWorldForward () |
Get the vector of GetCameraWorldForward | |
json | GetCameraWorldPosition () |
Get the position of the camera | |
json | GetCameraWorldUp () |
Get the vector of GetCameraWorldUp | |
json | SetCameraData (cameraData) |
Set the parameters that define the current camera. | |
json | AlignWithFace (facePath, withTransition) |
Set the camera to look straight at the given face and zoom to fit it. | |
json | GetViewportSize () |
Get the camera width and height Parameters: Out: width and height of the current viewport | |
json | SetViewportSize (x, y) |
Set the parameters that define the current camera. | |
json | SetProjectionType (projectionType) |
Set the camera to perspective. | |
json | GetProjectionType () |
Get the camera to perspective. | |
json | SetPositionAndOrientation (aEye, aLook, aUp) |
Set the camera position and orientation. | |
json | SetWorldForward (forward) |
Set the camera direction. | |
json | SetFieldOfView (fieldOfView) |
Set the camera field of view (for perspective). | |
json | Transition3DTo2DTopOrtho (duration) |
Transition the camera from a 3d view to top view and set the projection type to orthographic at the end. | |
json | Transition2DTopTo3DPersp (altitudeAngle, duration) |
Transition the camera from a top view to a 3d perspective view, setting the altitude angle of the camera direction to the angle passed in. | |
json | GetVerticalAngleLock () |
Get the vertical angle lock Parameters: In: Out: bool vertical angle lock | |
json | SetVerticalAngleLock (bLock) |
Set the vertical angle lock. | |