Microsoft DirectX 8.1 (Visual Basic)

D3DX8.BufferGetBoneName

Retrieves the name of a bone from a buffer.

object.BufferGetBoneName( _ 
    BoneNameBuffer As D3DXBuffer, _ 
    Index As Long) As String

Parts

object
Object expression that resolves to a D3DX8 object.
BoneNameBuffer
D3DXBuffer object, the buffer containing the bone data.
Index
Index value, specifying the index into the buffer.

Return Values

String identifying the name of the bone.

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.