Struct dae_parser::Joints
source · [−]Expand description
Declares the association between joint nodes and attribute data.
Fields
inputs: Vec<Input>
The interpretation of the Source
s.
joint: usize
The index into inputs
for the Semantic::Joint
input (which must exist).
The Source
referenced by this input should contain a ArrayElement::Name
that contains sid
s to identify the joint nodes.
sid
s are used instead of IdRef
s to allow a skin controller
to be instantiated multiple times, where each instance can be animated independently.
extra: Vec<Extra>
Provides arbitrary additional information about this element.
Implementations
sourceimpl Joints
impl Joints
sourcepub fn new(inputs: Vec<Input>) -> Self
pub fn new(inputs: Vec<Input>) -> Self
Construct a new Joints
from a list of inputs.
One of the inputs must have Semantic::Joint
.
sourceimpl Joints
impl Joints
sourcepub fn joint_input(&self) -> &Input
pub fn joint_input(&self) -> &Input
The input with Semantic::Joint
.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Joints
impl Send for Joints
impl Sync for Joints
impl Unpin for Joints
impl UnwindSafe for Joints
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more