TweenList<T extends dynamic> class

TweenList is a Tween which contains a list of TweenPercentages to enable users to efficiently define a multi-curved animation with multiple value-blends. Please note that although Matrix4 tweens are supported, they tend to be a bit slower, due to the Matrix decomposition

Inheritance

Constructors

TweenList(List<TweenPercentage<T>> values)
constructor, expects a list of TweenPercentage.

Properties

animation Animation<T>?
Holds the Animation generated by Animator
getter/setter pair
begin ↔ T?
The value this variable has at the beginning of the animation.
getter/setter pairinherited
duration Duration
Used to determine if percentage is within animation offset and blend.
getter/setter pair
end ↔ T?
The value this variable has at the end of the animation.
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
offset Duration
Used to determine if percentage is within animation offset.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

animate(Animation<double> parent) Animation<T>
Returns a new Animation that is driven by the given animation but that takes on values determined by this object.
inherited
chain(Animatable<double> parent) Animatable<T>
Returns a new Animatable whose value is determined by first evaluating the given parent and then evaluating this object at the result.
inherited
evaluate(Animation<double> animation) → T
The current value of this object for the given Animation.
inherited
fetchFromTo(double t) Pair<TweenPercentage<T>, TweenPercentage<T>>
Determines the 2 TweenPercentages surrounding the current percentage (theta).
lerp(double t) → T
Returns a lerped value based on theta.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
qlerp(Quaternion qa, Quaternion qb, double t2) → Quaternion
Returns a lerped quaternion based on theta.
toString() String
A string representation of this object.
inherited
transform(double t) → T
Returns a current animated value at the supplied theta.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited