AnimationSampler class

An animation sampler combines timestamps with a sequence of output values and defines an interpolation algorithm.

Inheritance

Constructors

AnimationSampler.new({required GltfRoot root, required GltfRef<FloatAccessor> input, required AnimationInterpolation interpolation, required GltfRef<RawAccessor> output})
AnimationSampler.parse(GltfRoot root, Map<String, Object?> map)

Properties

hashCode int
The hash code for this object.
no setterinherited
input GltfRef<FloatAccessor>
The index of an accessor containing keyframe timestamps. The accessor MUST be of scalar type with floating-point components. The values represent time in seconds with time[0] >= 0.0, and strictly increasing values, i.e., time[n + 1] > time[n].
final
interpolation AnimationInterpolation
Interpolation algorithm.
final
output GltfRef<RawAccessor>
The index of an accessor, containing keyframe output values.
final
root GltfRoot
finalinherited
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
toString() String
A string representation of this object.
inherited

Operators

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