[go: up one dir, main page]

Struct gltf::v1::animation::Sampler [] [src]

pub struct Sampler {
    pub input: String,
    pub interpolation: Interpolation,
    pub output: String,
}

Fields

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 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.

The ID of a parameter in this animation to use as keyframe output.

Trait Implementations

impl Debug for Sampler
[src]

Formats the value using the given formatter.

impl Default for Sampler
[src]

Returns the "default value" for a type. Read more