pub struct SkinDeformPattern {
pub name: String,
pub region: String,
pub driver_params: Vec<String>,
pub base_weights: MorphMap,
pub max_weights: MorphMap,
}Expand description
A skin deformation pattern: maps input parameters to morph weight contributions.
Fields§
§name: String§region: StringBody region, e.g. “forearm”, “cheek”, “belly”.
driver_params: Vec<String>Which ParamState fields drive this pattern.
base_weights: MorphMapMorph weights at zero deformation.
max_weights: MorphMapMorph weights at full deformation.
Implementations§
Auto Trait Implementations§
impl Freeze for SkinDeformPattern
impl RefUnwindSafe for SkinDeformPattern
impl Send for SkinDeformPattern
impl Sync for SkinDeformPattern
impl Unpin for SkinDeformPattern
impl UnsafeUnpin for SkinDeformPattern
impl UnwindSafe for SkinDeformPattern
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> 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