Click or drag to resize
Ab4d.SharpEngine logo

MeshDataChannelTypes Enumeration

MeshDataChannelTypes enum defined possible mesh data channel types.

Namespace: Ab4d.SharpEngine.Meshes
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 1.0.8740+deb2991acfe86a95cca780cd4f82bcae2805c1a5
Syntax
C#
public enum MeshDataChannelTypes
Members
Member nameValueDescription
None0 None
VertexData1 Array with vertex data that is used by the mesh (can be PositionNormalTextureVertex, PositionColorVertex, etc.)
Positions2 Positions
Normals3 Normals
TextureCoordinates4 Texture coordinates
TextureCoordinates15 Additional Texture coordinates
TextureCoordinates26 Additional Texture coordinates
TextureCoordinates37 Additional Texture coordinates
TextureCoordinates48 Additional Texture coordinates
TextureCoordinates59 Additional Texture coordinates
TextureCoordinates610 Additional Texture coordinates
TextureCoordinates711 Additional Texture coordinates
Tangents12 Tangents
BiTangents13 BiTangents
BlendWeights14 BlendWeights
BlendIndices15 BlendIndices
VertexColors16 VertexColors
TriangleIndices17 Array of index values in the Positions array that define individual mesh triangles. Each triangle is defined by 3 triangle indices.
EdgeLineIndices18 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.
PolygonIndices19 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.
Metadata20 Metadata with any arbitrary data about the mesh. Usually in a form of a Dictionary with string as key and objects as value.
DebugStream21 DebugStream can be used to provide debug information about how the mesh was generated. For example, adding lines with arrows, marking positions, ect.
Other22 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.
See Also