Microsoft DirectX 8.1 (Visual Basic) |
Creates an empty skin mesh object using a declarator.
object.CreateSkinMesh( _ NumFaces As Long, _ NumVertices As Long, _ NumBones As Long, _ Options As Long, _ Declaration As Any, _ D3DDevice As Direct3DDevice8) As D3DXSkinMesh
D3DXSkinMesh object, representing the created skin mesh.
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.
Use D3DXSkinMesh.SetBoneInfluence to populate the empty skin mesh object returned by this method.