Method SetViewpointCameraAsync
SetViewpointCameraAsync(Camera)
Changes the scene view to the new camera viewpoint asynchronously.
Declaration
public Task<bool> SetViewpointCameraAsync(Camera camera)
Parameters
Type | Name | Description |
---|---|---|
Camera | camera | The new camera information for the scene view. |
Returns
Type | Description |
---|---|
Task<Boolean> |
|
Exceptions
Type | Condition |
---|---|
Argument |
camera |
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 100.15 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 100.15 |
SetViewpointCameraAsync(Camera, TimeSpan)
Changes the scene view to the new camera viewpoint asynchronously using the specified duration to arrive.
Declaration
public Task<bool> SetViewpointCameraAsync(Camera camera, TimeSpan duration)
Parameters
Type | Name | Description |
---|---|---|
Camera | camera | The new camera information for the scene view. |
Time |
duration | Duration of the animation |
Returns
Type | Description |
---|---|
Task<Boolean> |
|
Exceptions
Type | Condition |
---|---|
Argument |
camera |
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 100.15 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 100.15 |