pub struct ViewVolume { /* private fields */ }Expand description
VVOL — View volume (v0, 40 bytes)
Animated visibility volume bound to a bone, used for culling decisions.
Implementations§
Source§impl ViewVolume
impl ViewVolume
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 size(&self) -> Ref<'_, AnimRefVector3f>
pub fn size(&self) -> Ref<'_, AnimRefVector3f>
Animated half-extents (36 bytes) Borrows the field in place — no copy, no allocation.
pub fn size_mut(&mut self) -> RefMut<'_, AnimRefVector3f>
Trait Implementations§
Source§impl Debug for ViewVolume
impl Debug for ViewVolume
Source§impl Default for ViewVolume
impl Default for ViewVolume
Source§impl Drop for ViewVolume
impl Drop for ViewVolume
impl Send for ViewVolume
Auto Trait Implementations§
impl !Sync for ViewVolume
impl Freeze for ViewVolume
impl RefUnwindSafe for ViewVolume
impl Unpin for ViewVolume
impl UnsafeUnpin for ViewVolume
impl UnwindSafe for ViewVolume
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