Class AnimationSampler
Inheritance
AnimationSampler
Syntax
[Serializable]
public class AnimationSampler
Fields
The index of an accessor containing keyframe input values, e.G., time.
That accessor must have componentType FLOAT
. The values represent time in
seconds with time[0] >= 0.0
, and strictly increasing values,
i.e., time[n + 1] > time[n]
Declaration
Field Value
interpolation
Interpolation algorithm. When an animation targets a node's rotation,
and the animation's interpolation is \"LINEAR\"
, spherical linear
interpolation (slerp) should be used to interpolate quaternions. When
interpolation is \"STEP\"
, animated value remains constant to the value
of the first point of the timeframe, until the next timeframe.
Declaration
public string interpolation
Field Value
output
The index of an accessor, containing keyframe output values. Output and input
accessors must have the same count
. When sampler is used with TRS target,
output accessor's componentType must be FLOAT
.
Declaration
Field Value
Methods
GetInterpolationType()
Declaration
public InterpolationType GetInterpolationType()
Returns