enum
EGeometryDataFieldType
Defines the field types in GeometryData, and in the GeometryDataCaster for casting fields into textures.
Values
Key | Value | Comment |
Coords | 0 | Per-vertex coordinate data, xyz values (3 items per tuple) |
TexCoords | 1 | Per-corner texture coords data, uv values (2 items per tuple) |
Normals | 2 | Per-corner vertex normals data, xyz values (3 items per tuple) |
Tangents | 3 | Per-corner vertex tangent data, xyz values (3 items per tuple) |
Bitangents | 4 | Per-corner vertex bitangent data, xyz values (3 items per tuple) |
Colors | 5 | Per-corner vertex color data, rgba values (4 items per tuple) |
TriangleIds | 6 | Per-triangle triangle ids, id values, not interpolated. (1 item per tuple) |
MaterialIds | 7 | Per-triangle material ids, id values, not interpolated. (1 item per tuple) |
Key | Value | Comment |
Coords | 0 | Per-vertex coordinate data, xyz values (3 items per tuple) |
TexCoords | 1 | Per-corner texture coords data, uv values (2 items per tuple) |
Normals | 2 | Per-corner vertex normals data, xyz values (3 items per tuple) |
Tangents | 3 | Per-corner vertex tangent data, xyz values (3 items per tuple) |
Bitangents | 4 | Per-corner vertex bitangent data, xyz values (3 items per tuple) |
Colors | 5 | Per-corner vertex color data, rgba values (4 items per tuple) |
TriangleIds | 6 | Per-triangle triangle ids, id values, not interpolated. (1 item per tuple) |
MaterialIds | 7 | Per-triangle material ids, id values, not interpolated. (1 item per tuple) |
Key | Value | Comment |
EGeometryDataFieldType_Coords | 0 | Per-vertex coordinate data, xyz values (3 items per tuple) |
EGeometryDataFieldType_TexCoords | 1 | Per-corner texture coords data, uv values (2 items per tuple) |
EGeometryDataFieldType_Normals | 2 | Per-corner vertex normals data, xyz values (3 items per tuple) |
EGeometryDataFieldType_Tangents | 3 | Per-corner vertex tangent data, xyz values (3 items per tuple) |
EGeometryDataFieldType_Bitangents | 4 | Per-corner vertex bitangent data, xyz values (3 items per tuple) |
EGeometryDataFieldType_Colors | 5 | Per-corner vertex color data, rgba values (4 items per tuple) |
EGeometryDataFieldType_TriangleIds | 6 | Per-triangle triangle ids, id values, not interpolated. (1 item per tuple) |
EGeometryDataFieldType_MaterialIds | 7 | Per-triangle material ids, id values, not interpolated. (1 item per tuple) |