콘텐츠로 이동

Tween<T> class

이 콘텐츠는 아직 번역되지 않았습니다.

Interpolates a value between From and To driven by an AnimationClock.

public sealed class Tween<T>
name description
Tween(…) Initializes a tween between two values with the given interpolation function.
CurrentValue { get; } Gets the current interpolated value.
From { get; set; } Gets or sets the start value.
To { get; set; } Gets or sets the end value.
event ValueChanged Occurs when a clock tick updates CurrentValue.
Bind(…) Binds this tween to a clock so each tick updates CurrentValue, replacing any earlier binding.
Unbind() Unbinds from the currently connected clock.