pub struct LodProfile { /* private fields */ }Implementations§
Source§impl LodProfile
impl LodProfile
pub fn flags(&self) -> u16
pub fn set_flags(&mut self, value: u16)
pub fn num_lod_levels(&self) -> u16
pub fn set_num_lod_levels(&mut self, value: u16)
pub fn lod_distance(&self) -> f32
pub fn set_lod_distance(&mut self, value: f32)
Sourcepub const fn particle_bone_lod_len() -> usize
pub const fn particle_bone_lod_len() -> usize
Number of elements — a fixed-size C++ array.
Sourcepub fn particle_bone_lod(&self, index: usize) -> u8
pub fn particle_bone_lod(&self, index: usize) -> u8
§Panics
If index >= 4, matching Rust slice indexing.
Sourcepub fn set_particle_bone_lod(&mut self, index: usize, value: u8)
pub fn set_particle_bone_lod(&mut self, index: usize, value: u8)
§Panics
If index >= 4.
pub fn reserved_0(&self) -> u8
pub fn set_reserved_0(&mut self, value: u8)
pub fn lod_flags(&self) -> u8
pub fn set_lod_flags(&mut self, value: u8)
pub fn lod_batch_count(&self) -> u8
pub fn set_lod_batch_count(&mut self, value: u8)
pub fn reserved_1(&self) -> u8
pub fn set_reserved_1(&mut self, value: u8)
Trait Implementations§
Source§impl Debug for LodProfile
impl Debug for LodProfile
Source§impl Default for LodProfile
impl Default for LodProfile
Source§impl Drop for LodProfile
impl Drop for LodProfile
impl Send for LodProfile
Auto Trait Implementations§
impl !Sync for LodProfile
impl Freeze for LodProfile
impl RefUnwindSafe for LodProfile
impl Unpin for LodProfile
impl UnsafeUnpin for LodProfile
impl UnwindSafe for LodProfile
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