pub struct RemeshOptions {
pub region: Region,
pub target_length: Option<f32>,
pub max_rounds: u32,
pub split_only: bool,
}Expand description
Options for remesh.
Fields§
§region: RegionThe region whose edges are remeshed.
target_length: Option<f32>Target edge length in mesh units. None resolves to the mesh-wide
mean live-edge length; non-finite or non-positive values fall back
to the mesh mean as well.
max_rounds: u32Maximum number of split/collapse/flip rounds.
split_only: boolSplit long edges only: no collapses, no flips. The triangle count only grows, so a live sculpt pass never pops the surface down.
Implementations§
Source§impl RemeshOptions
impl RemeshOptions
Sourcepub fn builder() -> RemeshOptionsBuilder
pub fn builder() -> RemeshOptionsBuilder
A builder for RemeshOptions: the default region until set.
Trait Implementations§
Source§impl Clone for RemeshOptions
impl Clone for RemeshOptions
Source§fn clone(&self) -> RemeshOptions
fn clone(&self) -> RemeshOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RemeshOptions
Source§impl Debug for RemeshOptions
impl Debug for RemeshOptions
Source§impl Default for RemeshOptions
impl Default for RemeshOptions
Source§impl PartialEq for RemeshOptions
impl PartialEq for RemeshOptions
impl StructuralPartialEq for RemeshOptions
Auto Trait Implementations§
impl Freeze for RemeshOptions
impl RefUnwindSafe for RemeshOptions
impl Send for RemeshOptions
impl Sync for RemeshOptions
impl Unpin for RemeshOptions
impl UnsafeUnpin for RemeshOptions
impl UnwindSafe for RemeshOptions
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