pub struct GenerateDensityMeshSettings {
pub points_separation: PointsSeparation,
pub visibility_threshold: Scalar,
pub steepness_threshold: Scalar,
pub max_iterations: usize,
pub extrude_size: Option<Scalar>,
pub keep_invisible_triangles: bool,
}
Expand description
Settings of density mesh generation.
Fields§
§points_separation: PointsSeparation
Minimal points separation.
visibility_threshold: Scalar
Minimal visibility treshold.
steepness_threshold: Scalar
Minimal steepness treshold.
max_iterations: usize
Limit of iterations when cannot find next available point.
extrude_size: Option<Scalar>
Optional extrude size.
keep_invisible_triangles: bool
Keep invisible triangles.
Trait Implementations§
Source§impl Clone for GenerateDensityMeshSettings
impl Clone for GenerateDensityMeshSettings
Source§fn clone(&self) -> GenerateDensityMeshSettings
fn clone(&self) -> GenerateDensityMeshSettings
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for GenerateDensityMeshSettings
impl Debug for GenerateDensityMeshSettings
Source§impl<'de> Deserialize<'de> for GenerateDensityMeshSettings
impl<'de> Deserialize<'de> for GenerateDensityMeshSettings
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for GenerateDensityMeshSettings
Auto Trait Implementations§
impl Freeze for GenerateDensityMeshSettings
impl RefUnwindSafe for GenerateDensityMeshSettings
impl Send for GenerateDensityMeshSettings
impl Sync for GenerateDensityMeshSettings
impl Unpin for GenerateDensityMeshSettings
impl UnwindSafe for GenerateDensityMeshSettings
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