pub struct HeightfieldLayer<'layer_set> { /* private fields */ }
Implementations§
Source§impl<'layer_set> HeightfieldLayer<'layer_set>
impl<'layer_set> HeightfieldLayer<'layer_set>
pub fn min_bounds(&self) -> Vec3<f32>
pub fn max_bounds(&self) -> Vec3<f32>
pub fn cell_horizontal_size(&self) -> f32
pub fn cell_height(&self) -> f32
pub fn grid_width(&self) -> i32
pub fn grid_height(&self) -> i32
pub fn grid_min_bounds(&self) -> Vec3<i32>
pub fn grid_max_bounds(&self) -> Vec3<i32>
pub fn heights(&self) -> &[u8] ⓘ
pub fn areas(&self) -> &[u8] ⓘ
pub fn packed_connection_info(&self) -> &[u8] ⓘ
Auto Trait Implementations§
impl<'layer_set> Freeze for HeightfieldLayer<'layer_set>
impl<'layer_set> RefUnwindSafe for HeightfieldLayer<'layer_set>
impl<'layer_set> !Send for HeightfieldLayer<'layer_set>
impl<'layer_set> !Sync for HeightfieldLayer<'layer_set>
impl<'layer_set> Unpin for HeightfieldLayer<'layer_set>
impl<'layer_set> UnwindSafe for HeightfieldLayer<'layer_set>
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