?/TD>
Microsoft DirectX 9.0

ID3DXSkinInfo Interface


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.

ID3DXSkinInfo Members

Clone

Clone a skin info object.

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.

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.

GetBoneInfluence

Get the vertices and weights that a bone influences.

GetBoneName

Get the bone name, from the bone index.

GetBoneOffsetMatrix

Get the bone offset matrix.

GetDeclaration

Get the vertex declaration.

GetFVF

Get the fixed function vertex value.

GetMaxFaceInfluences

Get the maximum face influences in a triangle mesh with the specified index buffer.

GetMaxVertexInfluences

Get the number of influences for a bone.

GetMinBoneInfluence

Get the minimum bone influence. Influence values smaller than this are ignored.

GetNumBoneInfluences

Get the number of influences for a bone.

GetNumBones

Get the number of bones.

Remap

Update bone influence information to match vertices after they are reordered. This should be called if the target vertex buffer has been reordered externally.

SetBoneInfluence

Set the influence value for a bone.

SetBoneName

Set the bone name.

SetBoneOffsetMatrix

Set the bone offset matrix.

SetDeclaration

Set the vertex declaration.

SetFVF

Set the flexible vertex format (FVF) type.

SetMinBoneInfluence

Set the minimum bone influence. Influence values smaller than this are ignored.

UpdateSkinnedMesh

Apply software skinning to the target vertices based on the current matrices.

Remarks

This interface, like all Component Object Model (COM) interfaces, inherits the IUnknown interface.

Interface Information

Inherits fromIUnknown
Headerd3dx9mesh.h
Import libraryd3dx9.lib
Minimum operating systems Windows 98


© 2002 Microsoft Corporation. All rights reserved.