?/TD>
Microsoft DirectX 9.0

SkinWeights


This template is instantiated on a per-mesh basis. Within a mesh, a sequence of n instances of this template will appear, where n is the number of bones (X file frames) that influence the vertices in the mesh. Each instance of the template basically defines the influence of a particular bone on the mesh. There is a list of vertex indices, and a corresponding list of weights.

        template SkinWeights \
        { \
            < 6F0D123B-BAD2-4167-A0D0-80224F25FABB > \
            STRING transformNodeName; \
            DWORD nWeights; \
            array DWORD vertexIndices[nWeights]; \
            array float weights[nWeights]; \
            Matrix4x4 matrixOffset; \
        } 

Where:



© 2002 Microsoft Corporation. All rights reserved.