Struct gltf_json::animation::Sampler []

pub struct Sampler {
    pub extensions: Sampler,
    pub extras: Extras,
    pub input: Index<Accessor>,
    pub interpolation: Checked<InterpolationAlgorithm>,
    pub output: Index<Accessor>,
}

Defines a keyframe graph but not its target.

Fields

Extension specific data.

Optional application specific data.

The index of an accessor containing keyframe input values, e.g., time.

The interpolation algorithm.

The index of an accessor containing keyframe output values.

Trait Implementations

impl Clone for Sampler

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Sampler

Formats the value using the given formatter.

impl Validate for Sampler

Validates only the invariants required for the library to function safely.

Validates the data against the glTF 2.0 specification.