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 |
|---|---|---|
| double | x | The change x offset symbol center |
| double | y | The change y offset symbol center |
| double | z | The change z offset symbol center |
| double | duration | The duration of the animation in seconds |
Returns
| Type | Description |
|---|---|
| Task | A 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.8 |
| .NET | 100.13 - 300.0 |
| .NET Windows | 100.13 - 300.0 |
| .NET Android | 200.0 - 300.0 |
| .NET iOS | 200.0 - 300.0 |
| .NET Framework | 100.1 - 200.8 |
| Xamarin.Android | 100.1 - 100.15 |
| Xamarin.iOS | 100.1 - 100.15 |
| UWP | 100.1 - 200.8 |