Microsoft DirectX 8.1 (Visual Basic)

D3DXSkinMesh.UpdateSkinnedMesh

Updates a skinned mesh.

object.UpdateSkinnedMesh( _ 
    BoneTransformsIn As Any, _ 
    RetMesh As D3DXMesh)

Parts

object
Object expression that resolves to a D3DXSkinMesh object
BoneTransformsIn
First element of an array of D3DMATRIX types, representing the bone transforms. The length of this array is the count of all the bones in the skin mesh
RetMesh
A D3DXMesh object, to be filled with the generated skinned mesh.

Remarks

This method updates the vertices blended with the new bone transforms.

Error Codes

If the method fails, an error is raised and Err.Number can be set to D3DERR_INVALIDCALL.

For information on trapping errors, see the Microsoft® Visual Basic® Error Handling topic.

See Also

D3DXSkinMesh.GenerateSkinnedMesh