Show / Hide Table of Contents

Method SetTargetOffsetsAsync

SetTargetOffsetsAsync(Double, Double, Double, Double)

Animates the camera to a new position using the target offsets of the camera.

Declaration
public Task SetTargetOffsetsAsync(double x, double y, double z, double duration)
Parameters
Type Name Description
System.Double x

The change x offset symbol center

System.Double y

The change y offset symbol center

System.Double z

The change z offset symbol center

System.Double duration

The duration of the animation in seconds

Returns
Type Description
System.Threading.Tasks.Task

A System.Threading.Tasks.Task representing the asynchronous operation.

Remarks

By default, the camera focuses on the graphic geometry center point. Using the offsets you can move the focal point to a new position relative to that center point.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.1 - 200.7
Xamarin.Android100.1 - 100.15
Xamarin.iOS100.1 - 100.15
UWP100.1 - 200.7
In This Article
Back to top Copyright © 2022 Esri.