AnimationState class
Couples an immutable ModelAnimation (animation data) with a clock, which allows it to be ticked by the game loop and sampled for rendering.
Constructors
Properties
- animationRef ↔ ModelAnimation?
-
getter/setter pair
- clock ↔ double
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
maybeTransform(
int nodeIndex, Matrix4 transform) → Matrix4 -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reset(
) → void -
startAnimation(
ModelAnimation? animation, {bool resetClock = true}) → void -
toString(
) → String -
A string representation of this object.
inherited
-
update(
double dt) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited