pub struct AttachmentPoint { /* private fields */ }Expand description
ATT_ — Attachment point (v0–v1, 20 bytes)
Named bone location used by the engine to attach effects, weapons, or other models to specific skeleton bones.
Implementations§
Source§impl AttachmentPoint
impl AttachmentPoint
pub fn set_unknown(&mut self, value: u32)
pub fn set_name(&mut self, value: &str)
Sourcepub fn bone_index(&self) -> u32
pub fn bone_index(&self) -> u32
Index into BONE array
pub fn set_bone_index(&mut self, value: u32)
Trait Implementations§
Source§impl Debug for AttachmentPoint
impl Debug for AttachmentPoint
Source§impl Default for AttachmentPoint
impl Default for AttachmentPoint
Source§impl Drop for AttachmentPoint
impl Drop for AttachmentPoint
impl Send for AttachmentPoint
Auto Trait Implementations§
impl !Sync for AttachmentPoint
impl Freeze for AttachmentPoint
impl RefUnwindSafe for AttachmentPoint
impl Unpin for AttachmentPoint
impl UnsafeUnpin for AttachmentPoint
impl UnwindSafe for AttachmentPoint
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