pub struct GroundPlaneDesc { /* private fields */ }Expand description
Ergonomic descriptor for constructing a subdivided ground plane Mesh3D.
Implementations§
Source§impl GroundPlaneDesc
Fluent constructors for GroundPlaneDesc.
impl GroundPlaneDesc
Fluent constructors for GroundPlaneDesc.
Sourcepub fn with_subdivisions(self, subdivisions: usize) -> Self
pub fn with_subdivisions(self, subdivisions: usize) -> Self
Sourcepub fn with_material(self, material: PbrMaterial) -> Self
pub fn with_material(self, material: PbrMaterial) -> Self
Source§impl GroundPlaneDesc
impl GroundPlaneDesc
pub fn get_name(&self) -> &String
pub fn get_mut_name(&mut self) -> &mut String
pub fn set_name(&mut self, val: String) -> &mut Self
pub fn get_width(&self) -> f32
pub fn get_mut_width(&mut self) -> &mut f32
pub fn set_width(&mut self, val: f32) -> &mut Self
pub fn get_depth(&self) -> f32
pub fn get_mut_depth(&mut self) -> &mut f32
pub fn set_depth(&mut self, val: f32) -> &mut Self
pub fn get_subdivisions(&self) -> usize
pub fn get_mut_subdivisions(&mut self) -> &mut usize
pub fn set_subdivisions(&mut self, val: usize) -> &mut Self
pub fn get_material(&self) -> PbrMaterial
pub fn get_mut_material(&mut self) -> &mut PbrMaterial
pub fn set_material(&mut self, val: PbrMaterial) -> &mut Self
Trait Implementations§
Source§impl Clone for GroundPlaneDesc
impl Clone for GroundPlaneDesc
Source§impl Debug for GroundPlaneDesc
impl Debug for GroundPlaneDesc
Source§impl PartialEq for GroundPlaneDesc
impl PartialEq for GroundPlaneDesc
impl StructuralPartialEq for GroundPlaneDesc
Auto Trait Implementations§
impl Forget for GroundPlaneDesc
impl Freeze for GroundPlaneDesc
impl Move for GroundPlaneDesc
impl RefUnwindSafe for GroundPlaneDesc
impl Send for GroundPlaneDesc
impl Sync for GroundPlaneDesc
impl Unpin for GroundPlaneDesc
impl UnsafeUnpin for GroundPlaneDesc
impl UnwindSafe for GroundPlaneDesc
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