pub struct OceanPatchDesc { /* private fields */ }Expand description
Descriptor for building a projected-grid / LOD ocean Mesh3D patch.
Implementations§
Source§impl OceanPatchDesc
Implements impl #impl_generics #name #ty_generics #where_clause.
impl OceanPatchDesc
Implements impl #impl_generics #name #ty_generics #where_clause.
pub fn get_center_xz(&self) -> Vec2
pub fn get_mut_center_xz(&mut self) -> &mut Vec2
pub fn set_center_xz(&mut self, val: Vec2) -> &mut Self
pub fn get_extent_x(&self) -> f32
pub fn get_mut_extent_x(&mut self) -> &mut f32
pub fn set_extent_x(&mut self, val: f32) -> &mut Self
pub fn get_extent_z(&self) -> f32
pub fn get_mut_extent_z(&mut self) -> &mut f32
pub fn set_extent_z(&mut self, val: f32) -> &mut Self
pub fn get_subdivisions_x(&self) -> usize
pub fn get_mut_subdivisions_x(&mut self) -> &mut usize
pub fn set_subdivisions_x(&mut self, val: usize) -> &mut Self
pub fn get_subdivisions_z(&self) -> usize
pub fn get_mut_subdivisions_z(&mut self) -> &mut usize
pub fn set_subdivisions_z(&mut self, val: usize) -> &mut Self
pub fn get_lod_radial_falloff(&self) -> f32
pub fn get_mut_lod_radial_falloff(&mut self) -> &mut f32
pub fn set_lod_radial_falloff(&mut self, val: f32) -> &mut Self
pub fn get_seabed_y(&self) -> f32
pub fn get_mut_seabed_y(&mut self) -> &mut f32
pub fn set_seabed_y(&mut self, val: f32) -> &mut Self
Trait Implementations§
Source§impl Clone for OceanPatchDesc
impl Clone for OceanPatchDesc
impl Copy for OceanPatchDesc
Source§impl Debug for OceanPatchDesc
impl Debug for OceanPatchDesc
Source§impl Default for OceanPatchDesc
Default OceanPatchDesc for a 120 m × 120 m LOD ocean mesh patch.
impl Default for OceanPatchDesc
Default OceanPatchDesc for a 120 m × 120 m LOD ocean mesh patch.
Source§impl PartialEq for OceanPatchDesc
impl PartialEq for OceanPatchDesc
impl StructuralPartialEq for OceanPatchDesc
Auto Trait Implementations§
impl Forget for OceanPatchDesc
impl Freeze for OceanPatchDesc
impl Move for OceanPatchDesc
impl RefUnwindSafe for OceanPatchDesc
impl Send for OceanPatchDesc
impl Sync for OceanPatchDesc
impl Unpin for OceanPatchDesc
impl UnsafeUnpin for OceanPatchDesc
impl UnwindSafe for OceanPatchDesc
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