Struct gltf_json::animation::Sampler [] [src]

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
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Sampler
[src]

[src]

Formats the value using the given formatter. Read more

impl Validate for Sampler
[src]

[src]

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

[src]

Validates the data against the glTF 2.0 specification. Read more

Auto Trait Implementations

impl Send for Sampler

impl Sync for Sampler