pub struct RetargetMeshConfig {
pub search_radius: f32,
pub smooth_iterations: u32,
pub blend: f32,
}Expand description
Configuration for mesh retargeting.
Fields§
§search_radius: f32Max search distance for closest point (default 0.1).
smooth_iterations: u32Post-transfer smoothing passes (default 2).
blend: f32Blend factor: 0 = no transfer, 1 = full transfer (default 1.0).
Trait Implementations§
Source§impl Clone for RetargetMeshConfig
impl Clone for RetargetMeshConfig
Source§fn clone(&self) -> RetargetMeshConfig
fn clone(&self) -> RetargetMeshConfig
Returns a duplicate 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 RetargetMeshConfig
impl Debug for RetargetMeshConfig
Auto Trait Implementations§
impl Freeze for RetargetMeshConfig
impl RefUnwindSafe for RetargetMeshConfig
impl Send for RetargetMeshConfig
impl Sync for RetargetMeshConfig
impl Unpin for RetargetMeshConfig
impl UnsafeUnpin for RetargetMeshConfig
impl UnwindSafe for RetargetMeshConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more