Show / Hide Table of Contents

Method SetViewpointAsync

| Edit this page View Source

SetViewpointAsync(Viewpoint, TimeSpan, AnimationCurve)

Animates the display to the new viewpoint using the provided animation curve. The AnimationCurve defines the animation easing function.

Declaration
public virtual Task<bool> SetViewpointAsync(Viewpoint viewpoint, TimeSpan duration, AnimationCurve animationCurve)
Parameters
Type Name Description
Viewpoint viewpoint

The visible area to display in the view.

TimeSpan duration

The time for the transition animation to complete.

AnimationCurve animationCurve

The type of animation curve.

Returns
Type Description
Task<bool>

True if the set view animation completed, false if it was interrupted by another view navigation.

  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX