The following members of class OrbitGeoElementCameraController are deprecated. They are provided to keep old source code working. We strongly advise against using them in new code.
Public Functions
(deprecated) Esri::ArcGISRuntime::TaskWatcher | moveCamera(double distanceDelta, double headingDelta, double pitchDelta, float duration) |
(deprecated) Esri::ArcGISRuntime::TaskWatcher | setTargetOffsets(double x, double y, double z, float duration) |
Signals
(deprecated) void | moveCameraCompleted(const QUuid &taskId, bool succeeded) |
(deprecated) void | setTargetOffsetsCompleted(const QUuid &taskId, bool succeeded) |
Member Function Documentation
Esri::ArcGISRuntime::TaskWatcher OrbitGeoElementCameraController::moveCamera (double distanceDelta , double headingDelta , double pitchDelta , float duration)
This function is deprecated. We strongly advise against using it in new code.
Animates the camera to the new offset position relative to the target.
- distanceDelta - The change in distance (meters) to apply in the animation.
- headingDelta - The change in heading (degrees) to apply in the animation.
- pitchDelta - The change in pitch (degrees) to apply in the animation.
- duration - The duration of the animation in seconds.
The moveCameraCompleted signal emits when the operation is complete.
[signal]
void OrbitGeoElementCameraController::moveCameraCompleted (const QUuid &taskId , bool succeeded)
This function is deprecated. We strongly advise against using it in new code.
Signal emitted when a moveCamera operation is completed.
- taskId - The task ID of the asynchronous task.
- succeeded - Whether the operation was successful.
Esri::ArcGISRuntime::TaskWatcher OrbitGeoElementCameraController::setTargetOffsets (double x, double y, double z, float duration)
This function is deprecated. We strongly advise against using it in new code.
Animates the camera to focus on the new point offset relative to the target.
- x - The offset along the target's x-axis to apply in the animation.
- y - The offset along the target's y-axis to apply in the animation.
- z - The offset along the target's z-axis to apply in the animation.
- duration - The duration of the animation in seconds.
The setTargetOffsetsCompleted signal emits when the operation is complete.
[signal]
void OrbitGeoElementCameraController::setTargetOffsetsCompleted (const QUuid &taskId , bool succeeded)
This function is deprecated. We strongly advise against using it in new code.
Signal emitted when a setTargetOffsets operation is completed.
- taskId - The task ID of the asynchronous task.
- succeeded - Whether the operation was successful.