Mesh |
public enum MeshDataChannelTypes
Member name | Value | Description |
---|---|---|
None | 0 | None |
VertexData | 1 | Array with vertex data that is used by the mesh (can be PositionNormalTextureVertex, PositionColorVertex, etc.) |
Positions | 2 | Positions |
Normals | 3 | Normals |
TextureCoordinates | 4 | Texture coordinates |
TextureCoordinates1 | 5 | Additional Texture coordinates |
TextureCoordinates2 | 6 | Additional Texture coordinates |
TextureCoordinates3 | 7 | Additional Texture coordinates |
TextureCoordinates4 | 8 | Additional Texture coordinates |
TextureCoordinates5 | 9 | Additional Texture coordinates |
TextureCoordinates6 | 10 | Additional Texture coordinates |
TextureCoordinates7 | 11 | Additional Texture coordinates |
Tangents | 12 | Tangents |
BiTangents | 13 | BiTangents |
BlendWeights | 14 | BlendWeights |
BlendIndices | 15 | BlendIndices |
VertexColors | 16 | VertexColors |
TriangleIndices | 17 | Array of index values in the Positions array that define individual mesh triangles. Each triangle is defined by 3 triangle indices. |
EdgeLineIndices | 18 | Array of index values in the Positions array that define edge lines. Each edge line is defined by two indices. Edge lines are not connected to each other. |
PolygonIndices | 19 | Array of index values in the Positions array that define the polygons from which the mesh was created. Each polygon is defined with defining indices of Positions that are used to define the connected lines that form a polygon. The polygon is then closed with repeating the first index in the polygon. This draws the last polygon segment to the beginning of the first segment. After that the indexes for the next polygon begins. Polygon can be also completed with specifying -1 as an index. This ends the polygon without closing it. |
Metadata | 20 | Metadata with any arbitrary data about the mesh. Usually in a form of a Dictionary with string as key and objects as value. |
DebugStream | 21 | DebugStream can be used to provide debug information about how the mesh was generated. For example, adding lines with arrows, marking positions, ect. |
Other | 22 | Other type can be used by any other channel data type set by the user. If there are more channel data types, then int values bigger than Other can be used. |