AnimationData class final
A glTF animation (a clip).
Constructors
-
AnimationData({required String name, required List<
AnimationChannelData> channels, required List<AnimationSamplerData> samplers, required double duration}) -
An animation of
channelsreadingsamplers.const
Properties
-
channels
→ List<
AnimationChannelData> -
What it moves.
final
- duration → double
-
The last key time, in seconds.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
Its name: the file's, or
animation <index>.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
samplers
→ List<
AnimationSamplerData> -
Keyframes.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited