Applications use the methods of the ID3DXSkinInfo interface to manipulate bone matrices, which are used to skin vertex data for animation. This interface is no longer strictly tied to ID3DXMesh and can be used to skin any set of vertex data.
Method | Description |
---|---|
ID3DXSkinInfo::Clone | Clones a skin info object. |
ID3DXSkinInfo::ConvertToBlendedMesh | Takes a mesh and returns a new mesh with per-vertex blend weights and a bone combination table. The table describes which bones affect which subsets of the mesh. |
ID3DXSkinInfo::ConvertToIndexedBlendedMesh | Takes a mesh and returns a new mesh with per-vertex blend weights, indices, and a bone combination table. The table describes which bone palettes affect which subsets of the mesh. |
ID3DXSkinInfo::FindBoneVertexInfluenceIndex | Retrieves the index of the bone influence affecting a single vertex. |
ID3DXSkinInfo::GetBoneInfluence | Gets the vertices and weights that a bone influences. |
ID3DXSkinInfo::GetBoneName | Gets the bone name, from the bone index. |
ID3DXSkinInfo::GetBoneOffsetMatrix | Gets the bone offset matrix. |
ID3DXSkinInfo::GetBoneVertexInfluence | Retrieves the blend factor and vertex affected by a specified bone influence. |
ID3DXSkinInfo::GetDeclaration | Gets the vertex declaration. |
ID3DXSkinInfo::GetFVF | Gets the fixed function vertex value. |
ID3DXSkinInfo::GetMaxFaceInfluences | Gets the maximum face influences in a triangle mesh with the specified index buffer. |
ID3DXSkinInfo::GetMaxVertexInfluences | Gets the maximum number of influences for any vertex in the mesh. |
ID3DXSkinInfo::GetMinBoneInfluence | Gets the minimum bone influence. Influence values smaller than this are ignored. |
ID3DXSkinInfo::GetNumBoneInfluences | Gets the number of influences for a bone. |
ID3DXSkinInfo::GetNumBones | Gets the number of bones. |
ID3DXSkinInfo::Remap | Updates bone influence information to match vertices after they are reordered. This method should be called if the target vertex buffer has been reordered externally. |
ID3DXSkinInfo::SetBoneInfluence | Sets the influence value for a bone. |
ID3DXSkinInfo::SetBoneName | Sets the bone name. |
ID3DXSkinInfo::SetBoneOffsetMatrix | Sets the bone offset matrix. |
ID3DXSkinInfo::SetBoneVertexInfluence | Sets an influence value of a bone on a single vertex. |
ID3DXSkinInfo::SetDeclaration | Sets the vertex declaration. |
ID3DXSkinInfo::SetFVF | Sets the flexible vertex format (FVF) type. |
ID3DXSkinInfo::SetMinBoneInfluence | Sets the minimum bone influence. Influence values smaller than this are ignored. |
ID3DXSkinInfo::UpdateSkinnedMesh | Applies software skinning to the target vertices based on the current matrices. |
Create a ID3DXSkinInfo interface with D3DXCreateSkinInfo, D3DXCreateSkinInfoFromBlendedMesh, or D3DXCreateSkinInfoFVF.
The LPD3DXSKININFO type is defined as a pointer to the ID3DXSkinInfo interface.
typedef struct ID3DXSkinInfo *LPD3DXSKININFO;
Header: Declared in D3dx9mesh.h.
Import Library: Use D3dx9.lib.