pub struct RemeshOptionsBuilder { /* private fields */ }Expand description
Builder for RemeshOptions.
Implementations§
Source§impl RemeshOptionsBuilder
impl RemeshOptionsBuilder
Sourcepub fn target_length(self, length: f32) -> Self
pub fn target_length(self, length: f32) -> Self
Target edge length in mesh units.
Sourcepub fn max_rounds(self, rounds: u32) -> Self
pub fn max_rounds(self, rounds: u32) -> Self
Maximum number of rounds.
Sourcepub fn split_only(self, split_only: bool) -> Self
pub fn split_only(self, split_only: bool) -> Self
Split long edges only: no collapses, no flips.
Sourcepub fn build(self) -> RemeshOptions
pub fn build(self) -> RemeshOptions
The options as set. Region validity is checked by remesh.
Trait Implementations§
Source§impl Clone for RemeshOptionsBuilder
impl Clone for RemeshOptionsBuilder
Source§fn clone(&self) -> RemeshOptionsBuilder
fn clone(&self) -> RemeshOptionsBuilder
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 moreSource§impl Debug for RemeshOptionsBuilder
impl Debug for RemeshOptionsBuilder
Source§impl Default for RemeshOptionsBuilder
impl Default for RemeshOptionsBuilder
Source§fn default() -> RemeshOptionsBuilder
fn default() -> RemeshOptionsBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RemeshOptionsBuilder
impl RefUnwindSafe for RemeshOptionsBuilder
impl Send for RemeshOptionsBuilder
impl Sync for RemeshOptionsBuilder
impl Unpin for RemeshOptionsBuilder
impl UnsafeUnpin for RemeshOptionsBuilder
impl UnwindSafe for RemeshOptionsBuilder
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