pub struct Attachment { /* private fields */ }Expand description
Attachment point for external models
Attachments define points where other models (like weapons or shields) can be attached to this model.
Implementations§
Source§impl Attachment
impl Attachment
Sourcepub fn node(&self) -> Ref<'_, Node>
pub fn node(&self) -> Ref<'_, Node>
Base node data Borrows the field in place — no copy, no allocation.
pub fn node_mut(&mut self) -> RefMut<'_, Node>
pub fn set_path(&mut self, value: &str)
Sourcepub fn attachment_id(&self) -> u32
pub fn attachment_id(&self) -> u32
Attachment slot ID
pub fn set_attachment_id(&mut self, value: u32)
Sourcepub fn visibility_tracks(&self) -> Ref<'_, TrackF32>
pub fn visibility_tracks(&self) -> Ref<'_, TrackF32>
Visibility animation Borrows the field in place — no copy, no allocation.
pub fn visibility_tracks_mut(&mut self) -> RefMut<'_, TrackF32>
Trait Implementations§
Source§impl Debug for Attachment
impl Debug for Attachment
Source§impl Default for Attachment
impl Default for Attachment
Source§impl Drop for Attachment
impl Drop for Attachment
impl Send for Attachment
Auto Trait Implementations§
impl !Sync for Attachment
impl Freeze for Attachment
impl RefUnwindSafe for Attachment
impl Unpin for Attachment
impl UnsafeUnpin for Attachment
impl UnwindSafe for Attachment
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