SkinInformation.Remap Method

Language:

Updates bone influence information to match vertices after they are reordered.

Definition

Visual Basic Public Sub Remap( _
    ByVal vertRemap() As Integer _
)
C# public void Remap(
    int[] vertRemap
);
C++ public:
void Remap(
    array<int>^ vertRemap
);
JScript public function Remap(
    vertRemap : int[]
);

Parameters

vertRemap System.Int32[]
Array of integers that represent the vertices to remap.

Remarks

This method should be called if the target vertex buffer is reordered externally.

Each element in vertRemap specifies the previous vertex index for that position. For example, if a vertex is in position 3 but is remapped to position 5, the fifth element of vertRemap contains 3.

Exceptions
InvalidCallException The method call is invalid. For example, a method's parameter might contain an invalid value.


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center