Language

SkinInformation.Remap(Int32[]) Method (Microsoft.DirectX.Direct3D)

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.