Method MoveCameraAsync
MoveCameraAsync(Double, Double, Double, Double)
Animates the camera to a new offset position 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.8 | 
| .NET | 100.13 - 200.8 | 
| .NET Windows | 100.13 - 200.8 | 
| .NET Android | 200.0 - 200.8 | 
| .NET iOS | 200.0 - 200.8 | 
| .NET Framework | 100.1 - 200.8 | 
| Xamarin.Android | 100.1 - 100.15 | 
| Xamarin.iOS | 100.1 - 100.15 | 
| UWP | 100.1 - 200.8 |