BoneAnimation class

represents Key frame animation data for a single bone in a skeleton.

Constructors

BoneAnimation(Bone bone, List<double> _positionTimes, List<Vector3> _positionValues, List<double> _rotationTimes, List<Quaternion> _rotationValues, List<double> _scaleTimes, List<Vector3> _scaleValues)
Construct bone animation with boneName. Animation key frames will be loaded from positions, rotations, and scales.

Properties

bone Bone
final
hashCode int
The hash code for this object.
no setterinherited
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
setBoneMatrixAtTick(double tick, Matrix4 boneMatrix) → void
Set boneMatrix to correspond to bone animation at time t. Does not interpolate between key frames.
toString() String
A string representation of this object.
override

Operators

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