Gets or sets options for camera pivot control.
Gets the camera mode (pivot, fps or all). See CameraMode for more information
Sets the camera mode (pivot, fps or all). See CameraMode for more information
Same as cameraOptions.
Attaches a behavior to the camera.
The behavior to be attached to the camera.
true if the behavior was successfully attached to the camera, otherwise false.
Resets the camera to the default view. Camera is positioned to view entire building
Optionaldirection: CameraDirectionOptional. Direction camera should look at building from. Default is a angled top position.
Detaches a behavior from the camera.
The behavior to be detached from the camera.
true if the behavior was successfully detached to the camera, otherwise false.
Returns camera forward vector.
Returns the current camera position and target as a string
Use cameraOptions instead Locks camera to prevent user interaction.
Sets camera position at eye and rotation to look towards target.
Point to look from.
Point to look towards.
Sets camera rotation to look towards the specified direction and zooms to extent of visible objects.
The direction to look from (top = -Z, bottom = +Z, front = +Y, back = -Y, left = +X, right = -X).
Whether camera should be locked or not.
Use cameraOptions instead Sets whether camera should prevent user interaction or not.
The camera mode to set.
Sets the pivot point to use a (mouse, touch) cursor-based pivot point (Auto).
Should be PivotMode.Auto
Sets the pivot point to a fixed point.
Should be PivotMode.Fixed
The object or point that the camera should pivot around.
Sets camera projection.
The camera projection to set.
Sets the camera's position and target from given string
A string generated by getViewAsString
Use Use cameraOptions instead Unlocks camera to allow for user interaction.
Zooms camera to the extent of the specified bounding box.
Bounding box in format [minX, minY, minZ, maxX, maxY, maxZ].
Optionaldirection: CameraDirection[Optional]. If set, the camera is positioned according to the direction during zoom. Otherwise, the current direction is kept.
NOTE: Internal API. Subject to change. Use of these APIs in production applications is not supported.