pub struct NaniteClusterNode { /* private fields */ }Expand description
Single node inside a UE5 Nanite-style hierarchical cluster DAG storing triangle range, normal cone, and parent/self geometric errors.
Implementations§
Source§impl NaniteClusterNode
impl NaniteClusterNode
pub fn get_first_tri(&self) -> u32
pub fn get_mut_first_tri(&mut self) -> &mut u32
pub fn set_first_tri(&mut self, val: u32) -> &mut Self
pub fn get_tri_count(&self) -> u32
pub fn get_mut_tri_count(&mut self) -> &mut u32
pub fn set_tri_count(&mut self, val: u32) -> &mut Self
pub fn get_bounds(&self) -> AxisAlignedBox3D
pub fn get_mut_bounds(&mut self) -> &mut AxisAlignedBox3D
pub fn set_bounds(&mut self, val: AxisAlignedBox3D) -> &mut Self
pub fn get_cone_axis(&self) -> Vec3
pub fn get_mut_cone_axis(&mut self) -> &mut Vec3
pub fn set_cone_axis(&mut self, val: Vec3) -> &mut Self
pub fn get_cone_cutoff(&self) -> f32
pub fn get_mut_cone_cutoff(&mut self) -> &mut f32
pub fn set_cone_cutoff(&mut self, val: f32) -> &mut Self
pub fn get_cluster_error(&self) -> f32
pub fn get_mut_cluster_error(&mut self) -> &mut f32
pub fn set_cluster_error(&mut self, val: f32) -> &mut Self
pub fn get_parent_error(&self) -> f32
pub fn get_mut_parent_error(&mut self) -> &mut f32
pub fn set_parent_error(&mut self, val: f32) -> &mut Self
pub fn get_lod_level(&self) -> u8
pub fn get_mut_lod_level(&mut self) -> &mut u8
pub fn set_lod_level(&mut self, val: u8) -> &mut Self
pub fn get_child_start(&self) -> u32
pub fn get_mut_child_start(&mut self) -> &mut u32
pub fn set_child_start(&mut self, val: u32) -> &mut Self
pub fn get_child_count(&self) -> u16
pub fn get_mut_child_count(&mut self) -> &mut u16
pub fn set_child_count(&mut self, val: u16) -> &mut Self
Trait Implementations§
Source§impl Clone for NaniteClusterNode
impl Clone for NaniteClusterNode
impl Copy for NaniteClusterNode
Source§impl Debug for NaniteClusterNode
impl Debug for NaniteClusterNode
Source§impl PartialEq for NaniteClusterNode
impl PartialEq for NaniteClusterNode
impl StructuralPartialEq for NaniteClusterNode
Auto Trait Implementations§
impl Forget for NaniteClusterNode
impl Freeze for NaniteClusterNode
impl Move for NaniteClusterNode
impl RefUnwindSafe for NaniteClusterNode
impl Send for NaniteClusterNode
impl Sync for NaniteClusterNode
impl Unpin for NaniteClusterNode
impl UnsafeUnpin for NaniteClusterNode
impl UnwindSafe for NaniteClusterNode
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