Method SetViewpointAsync
SetViewpointAsync(Viewpoint, TimeSpan, AnimationCurve)
Animates the view to the given Viewpoint location using the provided animation curve
Declaration
public Task<bool> SetViewpointAsync(Viewpoint viewpoint, TimeSpan duration, AnimationCurve animationCurve)
Parameters
Type | Name | Description |
---|---|---|
Viewpoint | viewpoint | Viewpoint object |
TimeSpan | duration | Duration of the animation |
AnimationCurve | animationCurve | The animation curve for controlling the acceleration and deceleration of the animation. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<Boolean> |
|
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET 6.0 Windows | 100.13 - 100.15 |