pub struct FbxSkinCluster {
pub joint_node_id: FbxNodeId,
pub control_point_indices: Vec<u32>,
pub weights: Vec<f32>,
pub mesh_bind_transform: FbxTransform,
pub joint_bind_transform: FbxTransform,
pub armature_bind_transform: Option<FbxTransform>,
}Available on crate features
fbx-reader or fbx-writer only.Expand description
All influences from one joint onto a mesh’s control points.
Fields§
§joint_node_id: FbxNodeIdJoint Model that owns this cluster.
control_point_indices: Vec<u32>Affected mesh control-point indices.
weights: Vec<f32>Weight for each entry in Self::control_point_indices.
mesh_bind_transform: FbxTransformMesh global transform captured in the bind pose (Transform).
joint_bind_transform: FbxTransformJoint global transform captured in the bind pose (TransformLink).
armature_bind_transform: Option<FbxTransform>Armature global transform captured in the bind pose
(TransformAssociateModel), when supplied by the source.
Trait Implementations§
Source§impl Clone for FbxSkinCluster
impl Clone for FbxSkinCluster
Source§fn clone(&self) -> FbxSkinCluster
fn clone(&self) -> FbxSkinCluster
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 FbxSkinCluster
impl RefUnwindSafe for FbxSkinCluster
impl Send for FbxSkinCluster
impl Sync for FbxSkinCluster
impl Unpin for FbxSkinCluster
impl UnsafeUnpin for FbxSkinCluster
impl UnwindSafe for FbxSkinCluster
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