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
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.1 - 200.6 |
Xamarin.Android | 100.1 - 100.15 |
Xamarin.iOS | 100.1 - 100.15 |
UWP | 100.1 - 200.6 |