pub struct FbxMorphTarget {
pub name: Option<String>,
pub control_point_indices: Vec<u32>,
pub position_deltas: Vec<[f32; 3]>,
pub normal_deltas: Option<Vec<[f32; 3]>>,
pub default_weight: f32,
pub full_weight: f32,
}Available on crate features
fbx-reader or fbx-writer only.Expand description
One sparse FBX blend-shape target.
Fields§
§name: Option<String>Display name of the shape geometry.
control_point_indices: Vec<u32>Control-point indices affected by this target.
position_deltas: Vec<[f32; 3]>Position deltas for those indices.
normal_deltas: Option<Vec<[f32; 3]>>Normal deltas for those indices, when present.
default_weight: f32Default weight in percent.
full_weight: f32Full-deformation weight in percent.
Trait Implementations§
Source§impl Clone for FbxMorphTarget
impl Clone for FbxMorphTarget
Source§fn clone(&self) -> FbxMorphTarget
fn clone(&self) -> FbxMorphTarget
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 moreAuto Trait Implementations§
impl Freeze for FbxMorphTarget
impl RefUnwindSafe for FbxMorphTarget
impl Send for FbxMorphTarget
impl Sync for FbxMorphTarget
impl Unpin for FbxMorphTarget
impl UnsafeUnpin for FbxMorphTarget
impl UnwindSafe for FbxMorphTarget
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