pub struct SourceSkinAsset {
pub source_skin_index: usize,
pub name: Option<String>,
pub skeleton_root_source_node_index: Option<usize>,
pub joint_source_node_indices: Vec<usize>,
pub inverse_bind_accessor: SourceInverseBindAccessor,
pub attachments: Vec<SourceSkinAttachment>,
}Expand description
One source skin definition, kept separate from bone-level convenience data.
Fields§
§source_skin_index: usizeStable skin-array index in the source format.
name: Option<String>Authored skin name, when present.
skeleton_root_source_node_index: Option<usize>Explicitly declared skeleton root, when present; never inferred.
joint_source_node_indices: Vec<usize>Source joints in declared skin-slot order.
inverse_bind_accessor: SourceInverseBindAccessorSource inverse-bind declaration evidence for this skin.
glTF retains exact accessor values. Other loaders may retain a
documented coordinate-normalized projection, as described by
SourceInverseBindAccessor.
attachments: Vec<SourceSkinAttachment>Source nodes that reference this skin, in source-node order.
Trait Implementations§
Source§impl Clone for SourceSkinAsset
impl Clone for SourceSkinAsset
Source§fn clone(&self) -> SourceSkinAsset
fn clone(&self) -> SourceSkinAsset
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SourceSkinAsset
impl Debug for SourceSkinAsset
Source§impl Default for SourceSkinAsset
impl Default for SourceSkinAsset
Source§fn default() -> SourceSkinAsset
fn default() -> SourceSkinAsset
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SourceSkinAsset
impl RefUnwindSafe for SourceSkinAsset
impl Send for SourceSkinAsset
impl Sync for SourceSkinAsset
impl Unpin for SourceSkinAsset
impl UnsafeUnpin for SourceSkinAsset
impl UnwindSafe for SourceSkinAsset
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more