Struct dae_parser::Sampler [−][src]
Expand description
Declares an interpolation sampling function for an animation.
Fields
id: Option<String>
A text string containing the unique identifier of the element.
inputs: Vec<Input>
Assigns semantics to each Source
. See the COLLADA spec for details.
interpolation: usize
The index into inputs
for the Semantic::Interpolation
input (which must exist).
Implementations
Construct a new Sampler
from a list of inputs.
One of the inputs must have Semantic::Interpolation
.
The input with Semantic::Interpolation
.
Trait Implementations
Extract the relevant LocalMap
field from a LocalMaps
.
fn get_local_map_mut<'a, 'b>(
maps: &'b mut LocalMaps<'a>
) -> &'b mut Option<LocalMap<'a, Self>>
fn get_local_map_mut<'a, 'b>(
maps: &'b mut LocalMaps<'a>
) -> &'b mut Option<LocalMap<'a, Self>>
Extract the relevant LocalMap
field from a LocalMaps
.
Auto Trait Implementations
impl RefUnwindSafe for Sampler
impl UnwindSafe for Sampler
Blanket Implementations
Mutably borrows from an owned value. Read more