Skip to main content

skinned_positions

Function skinned_positions 

Source
pub fn skinned_positions(
    p: &Project,
    mesh_id: MeshId,
    mesh_node: NodeId,
    skel_node: NodeId,
    pose: &Pose,
) -> Result<Vec<[f32; 3]>>
Expand description

CPU linear blend skinning: returns deformed positions in the mesh node’s local space (apply the mesh node’s world transform on top for world space). Used by the viewer; exporters keep the skin data instead.