pub struct Skin {
pub accuracy: f32,
/* private fields */
}Fields§
§accuracy: f32Implementations§
Source§impl Skin
impl Skin
pub fn inner(&self) -> &OwnedObject
pub fn into_inner(self) -> OwnedObject
pub fn properties(&self) -> &HashMap<String, Property>
pub fn property(&self, name: &str) -> Option<&Property>
pub fn accuracy(&self) -> f32
Sourcepub fn get_clusters<'a>(
&'a self,
document: &'a OwnedDocument,
) -> Vec<&'a Cluster>
pub fn get_clusters<'a>( &'a self, document: &'a OwnedDocument, ) -> Vec<&'a Cluster>
Resolve incoming Cluster -> Skin object links from OwnedDocument.
Assimp resolves this via destination-side connection scans + ProcessSimpleConnection.
In the owned snapshot, each object’s outgoing OO links are in connected_object_ids,
so this finds clusters whose outgoing links include self.object_index.
Trait Implementations§
Source§impl TryFrom<OwnedObject> for Skin
impl TryFrom<OwnedObject> for Skin
Source§type Error = FbxTypeMismatch
type Error = FbxTypeMismatch
The type returned in the event of a conversion error.
impl StructuralPartialEq for Skin
Auto Trait Implementations§
impl Freeze for Skin
impl RefUnwindSafe for Skin
impl Send for Skin
impl Sync for Skin
impl Unpin for Skin
impl UnsafeUnpin for Skin
impl UnwindSafe for Skin
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