Method MoveCameraAsync
MoveCameraAsync(Double, Double, Double, Double)
Animates the camera to a new offset position relative to the target with the specified duration.
Declaration
public Task MoveCameraAsync(double distanceDelta, double headingDelta, double pitchDelta, double duration)
Parameters
| Type | Name | Description |
|---|---|---|
| Double | distanceDelta | The change in distance to apply in the animation |
| Double | headingDelta | The change in heading to apply in the animation |
| Double | pitchDelta | The change in pitch to apply in the animation |
| Double | duration | The duration of the animation in seconds |
Returns
| Type | Description |
|---|---|
| Task | A Task representing the asynchronous operation. |
Remarks
Note that heading and pitch delta values may be greater than 360 degrees and the angle is not normalized. For example, a heading delta of 720 will make the camera do two circles around the target within the duration time.
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.3 - 100.15 |
| .NET 6.0 | 100.13 - 100.15 |
| .NET 6.0 Windows | 100.13 - 100.15 |
| .NET Framework | 100.1 - 100.15 |
| .NET 5 | 100.10 - 100.12 |
| .NET Core 3.1 | 100.7 - 100.12 |
| Xamarin.Android | 100.1 - 100.15 |
| Xamarin.iOS | 100.1 - 100.15 |
| UWP | 100.1 - 100.15 |