AnimationClip class

Constructors

AnimationClip(String name, [num duration = -1, List<KeyframeTrack> tracks = const <KeyframeTrack>[], int blendMode = NormalAnimationBlendMode])

Properties

blendMode int
getter/setter pair
duration num
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
name String
getter/setter pair
results List
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tracks List<KeyframeTrack>
getter/setter pair
uuid String
getter/setter pair

Methods

clone() → dynamic
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
optimize() → dynamic
resetDuration() → dynamic
toJSON() → dynamic
toString() String
A string representation of this object.
inherited
trim() → dynamic
validate() → dynamic

Operators

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

Static Methods

ceateClipsFromMorphTargetSequences(dynamic morphTargets, dynamic fps, dynamic noLoop) List<AnimationClip>
createFromMorphTargetSequence(dynamic name, dynamic morphTargetSequence, dynamic fps, dynamic noLoop) AnimationClip
findByName(List<AnimationClip> clipArray, dynamic name) AnimationClip?
parse(dynamic json) → dynamic
parseAnimation(dynamic animation, dynamic bones) → dynamic
toJSONStatic(dynamic clip) → dynamic