Microsoft DirectX 8.1 (Visual Basic) |
Creates an empty skin mesh object using a flexible vertex format (FVF) code.
object.CreateSkinMeshFVF( _ NumFaces As Long, _ NumVertices As Long, _ NumBones As Long, _ Options As Long, _ FVF As Long, _ D3DDevice As Direct3DDevice8) 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 one of the following values.
D3DERR_INVALIDCALL |
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.