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 |
---|---|---|
System.Double | distanceDelta | The change in distance to apply in the animation |
System.Double | headingDelta | The change in heading to apply in the animation |
System.Double | pitchDelta | The change in pitch to apply in the animation |
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
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 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.1 - 200.5 |
Xamarin.Android | 100.1 - 100.15 |
Xamarin.iOS | 100.1 - 100.15 |
UWP | 100.1 - 200.5 |