Method SetViewpointAsync
SetViewpointAsync(Viewpoint, TimeSpan, AnimationCurve)
Pans or zooms the local scene view using animation to the specified viewpoint location asynchronously. The animation takes place over the specified duration. The animation curve defines the animation easing function.
Declaration
public Task<bool> SetViewpointAsync(Viewpoint viewpoint, TimeSpan duration, AnimationCurve curve)
Parameters
| Type | Name | Description |
|---|---|---|
| Viewpoint | viewpoint | The viewpoint that should be set on the local scene view. |
| TimeSpan | duration | The amount of time to move to the new viewpoint. |
| AnimationCurve | curve | The type of animation curve. |
Returns
| Type | Description |
|---|---|
| Task<bool> |
|
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Windows | 300 |