pub struct Cluster {
pub indices: Vec<u32>,
pub weights: Vec<f32>,
pub transform: [[f32; 4]; 4],
pub transform_link: [[f32; 4]; 4],
/* private fields */
}Fields§
§indices: Vec<u32>§weights: Vec<f32>§transform: [[f32; 4]; 4]§transform_link: [[f32; 4]; 4]Implementations§
Source§impl Cluster
impl Cluster
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>
Sourcepub fn get_target_model<'a>(
&'a self,
document: &'a OwnedDocument,
) -> Option<&'a Model>
pub fn get_target_model<'a>( &'a self, document: &'a OwnedDocument, ) -> Option<&'a Model>
Resolve Model -> Cluster link (Assimp destination-side lookup).
Trait Implementations§
Source§impl TryFrom<OwnedObject> for Cluster
impl TryFrom<OwnedObject> for Cluster
Source§type Error = FbxTypeMismatch
type Error = FbxTypeMismatch
The type returned in the event of a conversion error.
impl StructuralPartialEq for Cluster
Auto Trait Implementations§
impl Freeze for Cluster
impl RefUnwindSafe for Cluster
impl Send for Cluster
impl Sync for Cluster
impl Unpin for Cluster
impl UnsafeUnpin for Cluster
impl UnwindSafe for Cluster
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