pub struct MeshSection { /* private fields */ }Expand description
MSEC — Mesh section bounds (v0–v1, 80 bytes)
Per-node animated bounding extent used for culling and LOD.
Implementations§
Source§impl MeshSection
impl MeshSection
Sourcepub fn node_index(&self) -> u32
pub fn node_index(&self) -> u32
Index into BONE array
pub fn set_node_index(&mut self, value: u32)
Sourcepub fn bounds(&self) -> Ref<'_, AnimRefM3Extent>
pub fn bounds(&self) -> Ref<'_, AnimRefM3Extent>
Animated bounding volume (76 bytes) Borrows the field in place — no copy, no allocation.
pub fn bounds_mut(&mut self) -> RefMut<'_, AnimRefM3Extent>
Trait Implementations§
Source§impl Debug for MeshSection
impl Debug for MeshSection
Source§impl Default for MeshSection
impl Default for MeshSection
Source§impl Drop for MeshSection
impl Drop for MeshSection
impl Send for MeshSection
Auto Trait Implementations§
impl !Sync for MeshSection
impl Freeze for MeshSection
impl RefUnwindSafe for MeshSection
impl Unpin for MeshSection
impl UnsafeUnpin for MeshSection
impl UnwindSafe for MeshSection
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