AnimationClip class final

A glTF animation, ready to sample: sample writes the nodes it moves at any time into a Pose.

Constructors

AnimationClip(AnimationData data)
A clip playing data.

Properties

data → AnimationData
What it plays.
final
duration → double
Its length in seconds.
no setter
hashCode → int
The hash code for this object.
no setterinherited
name → String
Its name.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sample(double time, Pose pose) → void
Writes every channel's value at time (seconds, clamped to the keys) into pose. Nodes the clip doesn't move are left as they are.
toString() → String
A string representation of this object.
inherited

Operators

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