TweenStateArena<T>

Class

Delegates

Properties

Duration: TimeValue
DurationMs: long
EasingMode: EasingMode
Value: T

Constructors

TweenStateArena(scheduler: IVisualElementScheduler, durationMs: long, lerp: TweenStateArena<T>.LerpFunc, update: Action<T>, easingMode: EasingMode)

Methods

Push(newValue: T): void
Initiates a tweening operation transitioning the current value to the specified new value over the configured duration using the provided interpolation function. The transition updates the value at regular intervals and invokes the update action accordingly.

Parameters

newValue:T - The target value to which the tween animation will transition.
Set(newValue: T): void
Sets the current value of the tween without initiating a transition or animation. Immediately applies the specified value and invokes the update action to reflect the change.

Parameters

newValue:T - The value to be directly assigned as the current state.

Inherited Members

Extension Methods

DescribeIdentityShortHashToStringNullable

On this page