| Microsoft DirectX 8.1 (Visual Basic) |
Creates a skin mesh from another mesh.
object.CreateSkinMeshFromMesh( _
Mesh As D3DXMesh, _
NumBones As Long) As D3DXSkinMesh
D3DXSkinMesh object, representing the created skin mesh object.
If the method fails, an error is raised and Err.Number can be set to E_OUTOFMEMORY.
For information on trapping errors, see the Microsoft® Visual Basic® Error Handling topic.