OrbitLocationCameraController class final

A camera controller that supports orbital camera navigation around a stationary point in an ArcGISSceneViewController.

An orbit camera controller locks navigation around a target point. The camera can orbit around the target point but always focuses directly on the point. To activate the controller, set the controller on the ArcGISSceneViewController.cameraController property. In this mode, the user can rotate around and zoom in and out from the target point. Once you have applied this camera controller to an ArcGISSceneViewController, you cannot change the OrbitLocationCameraController.targetLocation nor the viewpoint of the scene view.

Inheritance

Constructors

OrbitLocationCameraController.withTargetPositionAndCameraDistance({required ArcGISPoint targetLocation, required double distance})
Creates an orbit camera controller object with the given target point and distance from that point.
factory
OrbitLocationCameraController.withTargetPositionAndCameraPosition({required ArcGISPoint targetLocation, required ArcGISPoint cameraPoint})
Create an orbit camera controller object with a target point and a camera point.
factory

Properties

cameraDistance double
The distance from the camera to the OrbitLocationCameraController.targetLocation, in meters.
getter/setter pair
cameraHeadingOffset double
The heading of the camera relative to the OrbitLocationCameraController.targetLocation, in degrees.
getter/setter pair
cameraPitchOffset double
The pitch of the camera relative to the OrbitLocationCameraController.targetLocation, in degrees.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isCameraDistanceInteractive bool
True if the camera's distance to the OrbitLocationCameraController.targetLocation can be changed by a user zoom interaction, false otherwise.
getter/setter pair
isCameraHeadingOffsetInteractive bool
True if the camera's heading relative to the OrbitLocationCameraController.targetLocation can be changed by a user horizontal pan interaction, false otherwise.
getter/setter pair
isCameraPitchOffsetInteractive bool
True if the camera's pitch relative to the OrbitLocationCameraController.targetLocation can be changed by a user's vertical pan interaction, false otherwise.
getter/setter pair
maxCameraDistance double
The maximum distance from the camera to the OrbitLocationCameraController.targetLocation, in meters.
getter/setter pair
maxCameraHeadingOffset double
The maximum camera heading offset relative to the OrbitLocationCameraController.targetLocation, in degrees.
getter/setter pair
maxCameraPitchOffset double
The maximum camera pitch offset relative to the OrbitLocationCameraController.targetLocation, in degrees.
getter/setter pair
minCameraDistance double
The minimum distance from the camera to the OrbitLocationCameraController.targetLocation, in meters.
getter/setter pair
minCameraHeadingOffset double
The minimum camera heading offset relative to the OrbitLocationCameraController.targetLocation, in degrees.
getter/setter pair
minCameraPitchOffset double
The minimum camera pitch offset relative to the OrbitLocationCameraController.targetLocation, in degrees.
getter/setter pair
onCameraDistanceChanged Stream<double>
Sets a callback to be invoked when distance has changed for the camera controller.
no setter
onCameraHeadingOffsetChanged Stream<double>
Sets a callback to be invoked when heading has changed for the camera controller.
no setter
onCameraPitchOffsetChanged Stream<double>
Sets a callback to be invoked when pitch has changed for the camera controller.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
targetLocation ArcGISPoint?
The location on which the camera focuses and around which it orbits.
no setter

Methods

moveCamera({required double distanceDelta, required double headingDelta, required double pitchDelta, required double duration}) Future<bool>
Animates the camera to a new offset position relative to the target with the specified duration.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited