Animation class

Inheritance

Constructors

Animation.new({required GltfRoot root, required String? name, required List<AnimationChannel> channels, required List<AnimationSampler> samplers})
Animation.parse(GltfRoot root, Map<String, Object?> map)

Properties

channels List<AnimationChannel>
An array of animation channels. An animation channel combines an animation sampler with a target property being animated. Different channels of the same animation MUST NOT have the same targets.
final
hashCode int
The hash code for this object.
no setterinherited
name String?
final
root GltfRoot
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
samplers List<AnimationSampler>
An array of animation samplers. An animation sampler combines timestamps with a sequence of output values and defines an interpolation algorithm.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toFlameAnimation() ModelAnimation
toString() String
A string representation of this object.
inherited

Operators

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