XSI_VertexList

Lists the vertices in the original shape and in any weightmaps.

 

This template corresponds to the CSLXSIVertexList class.

Introduced

5.0

Template

XSI_VertexList { 
   <iNbVertexLists>, 
   "position", <weight-maps>
   <iNbVertices>, 

// List of vertex indices in the format:
// 0,0,...,0
// 1,1,...,1
// 2,2,...,2
// ...
}

Members

Member name

Description

iNbVertexLists

Number of weight maps + 1

weight-maps

A comma-separated list of weight map names.

iNbVertices

Number of vertices

Example

// No weight maps
XSI_VertexList { 
   1, 
   "position",
   8, 

   0,
   1,
   2,
   3,
   4,
   5,
   6,
   7,
}


// With a weight map
XSI_VertexList { 
   2, 
   "position","Weight_Map",
   8, 

   0,0,
   1,1,
   2,2,
   3,3,
   4,4,
   5,5,
   6,6,
   7,7,
}

 



Autodesk Crosswalk v3.2