Microsoft DirectX 9.0 SDK Update (October 2004)

SkinInformation.Remap Method

Language:

Note: This documentation is preliminary and is subject to change.

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

Definition

Visual Basic .NET Public Sub Remap( _
    ByVal vertRemap() As Integer _
)
C# public void Remap(
    int[] vertRemap
);
Managed C++ public: void Remap(
    int vertRemap __gc[]
);
JScript .NET 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.


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

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