Struct gltf_json::animation::Sampler [−][src]
pub struct Sampler {
pub extensions: Option<Sampler>,
pub extras: Extras,
pub input: Index<Accessor>,
pub interpolation: Checked<Interpolation>,
pub output: Index<Accessor>,
}
Expand description
Defines a keyframe graph but not its target.
Fields
extensions: Option<Sampler>
Extension specific data.
extras: Extras
Optional application specific data.
input: Index<Accessor>
The index of an accessor containing keyframe input values, e.g., time.
interpolation: Checked<Interpolation>
The interpolation algorithm.
output: Index<Accessor>
The index of an accessor containing keyframe output values.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Sampler
impl UnwindSafe for Sampler
Blanket Implementations
Mutably borrows from an owned value. Read more