FormIt Plugin API  v23.0.0 (2023.0.0)
FormIt.Cameras Namespace Reference

Description

FormIt.Cameras namespace.

Functions

json GetCameraData ()
 
json GetCameraWorldForward ()
 Get the vector of GetCameraWorldForward. More...
 
json GetCameraWorldPosition ()
 Get the position of the camera. More...
 
json GetCameraWorldUp ()
 Get the vector of GetCameraWorldUp. More...
 
json SetCameraData (cameraData)
 Set the parameters that define the current camera. More...
 
json AlignWithFace (facePath, withTransition)
 Set the camera to look straight at the given face and zoom to fit it. More...
 
json GetViewportSize ()
 Get the camera width and height Parameters: Out: width and height of the current viewport. More...
 
json SetViewportSize (x, y)
 Set the parameters that define the current camera. More...
 
json SetProjectionType (projectionType)
 Set the camera to perspective. More...
 
json GetProjectionType ()
 Get the camera to perspective. More...
 
json SetPositionAndOrientation (aEye, aLook, aUp)
 Set the camera position and orientation. More...
 
json SetWorldForward (forward)
 Set the camera direction. More...
 
json SetFieldOfView (fieldOfView)
 Set the camera field of view (for perspective). More...