Option to automatically adjust the camera to the size of the scene whenever a call to ISessionApi.customize replaced ISessionApi.node. This does not happen in case ISessionApi.automaticSceneUpdate is set to false.
The speed of the camera for auto rotating.
The standard duration for camera movements.
The restrictions for the position of the camera with a cube.
The restrictions for the target of the camera with a cube.
The damping factor for the camera. The dampening affects how much the camera moves even after you let it got. This smooths the usage of the camera.
The default position of the camera.
The default target of the camera.
Option to enable auto rotating.
Option to enable the rotation of the camera on the azimuth axis (left/right). (default: true)
Option to enable panning with key presses.
Option to enable the object controls. (default: false)
Option to enable panning. Panning can be done by pressing the right mouse button or three-finger touch events.
Option to enable the rotation of the camera on the polar axis (up/down). (default: true)
Option to enable rotating.
Option to enable the turntable controls. (default: false)
Option to enable zooming. Zooming can be done with the mouse wheel or two-finger touch events.
Option to enable / disable the movement of the camera.
The id of the camera.
If the camera is the default camera of the viewport.
The speed of the camera for key panning. The higher this value, the faster you can pan.
The factor for applying smoothing to the camera movement. The various events that come in are blended together to ensure that extremes are not as pronounced.
The center of the object when enableObjectControls is activated. (default: [0,0,0])
The speed of the camera for panning. The higher this value, the faster you can pan.
The current position of the camera.
Option to animate the camera position and target to their defaults whenever the mouse/touch up event is fired.
The standard duration for revertAtMouseUp animations.
The restrictions for the rotation of the camera.
The speed of the camera for rotating.
The restrictions for the position of the camera with a sphere.
The restrictions for the target of the camera with a sphere.
The current target of the camera.
The center of the turntable when enableTurntableControls is activated. (default: [0,0,0])
The type of camera that is being used.
The restrictions for the zooming of the camera.
The speed of the camera for zooming. The higher this value, the faster you can zoom.
The factor that is used when the zoomTo function is called.
See also calculateZoomTo
The name of the camera. Used by the platform.
Optional order property for the camera. Used by the platform.
Let the camera follow a path along pairs of position and target.
The defined path.
Various options to be adjusted.
Calculate the position and target which a call to zoomTo would result in.
If no target to zoom to is provided, the current bounding box is used. If no startingPosition and startingTarget are provided, the current camera position and target are used.
The target to zoom to.
The starting position of the camera.
The starting target of the camera.
Projects the vector from world space into the camera's normalized device coordinate (NDC) space.
The point in the scene to project.
Reset / animate the camera to its default position and target.
Various options to be adjusted.
Set / animate the camera to a specific position and target.
Various options to be adjusted.
Projects the vector from the camera's normalized device coordinate (NDC) space into world space.
The point on the screen to project.
Zoom to a specific part of the scene, or the whole scene (default).
The target to zoom to.
Various options to be adjusted.
The api for a camera, please see the definitions for the perspective camera api and the orthographic camera api as this is just a shared interface for both. A camera can be created by calling the corresponding method in the IViewportApi. A camera has a multitude of properties and methods that can be used to adjust the behavior.