Struct gltf::v1::animation::Sampler
[−]
[src]
pub struct Sampler {
pub input: String,
pub interpolation: Interpolation,
pub output: String,
}Fields
input: String
The ID of a parameter in this animation to use as keyframe input.
This parameter must have type FLOAT. The values represent time in
seconds with time[0] >= 0.0, and monotonically increasing values,
i.e., time[n + 1] >= time[n]
interpolation: 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.
output: String
The ID of a parameter in this animation to use as keyframe output.