enum
EGeometryDataFieldType
Defines the field types in GeometryData. Used in ComputeCaster and GeometryDataCaster to bind geometry data fields for casting.
Values
Key | Value | Comment |
---|---|---|
Coords | 0 | Per-vertex coordinate data, xyz values (3 items per tuple, default attribute format type F32vec3) |
TexCoords | 1 | Per-corner texture coords data, uv values (2 items per tuple, default attribute format type F32vec2) |
Normals | 2 | Per-corner vertex normals data, xyz values (3 items per tuple, default attribute format type F32vec3) |
Tangents | 3 | Per-corner vertex tangent data, xyz values (3 items per tuple, default attribute format type F32vec3) |
Bitangents | 4 | Per-corner vertex bitangent data, xyz values (3 items per tuple, default attribute format type F32vec3) |
Colors | 5 | Per-corner vertex color data, rgba values (4 items per tuple, default attribute format type F32vec4) |
TriangleIds | 6 | Per-triangle triangle ids, id values, not interpolated. (1 item per tuple, default attribute format type S32) |
MaterialIds | 7 | Per-triangle material ids, id values, not interpolated. (1 item per tuple, default attribute format type S32) |
VertexIds | 8 | Per-corner vertex ids, id values, not interpolated. (1 item per tuple, default attribute format type S32) |
UserVertexField | 9 | User-defined Per-vertex geometry data field. |
UserCornerField | 10 | User-defined Per-corner geometry data field. |
UserTriangleField | 11 | User-defined Per-triangle geometry data field. |
CustomField | 12 | Custom-size user-defined geometry data field. |
Key | Value | Comment |
---|---|---|
Coords | 0 | Per-vertex coordinate data, xyz values (3 items per tuple, default attribute format type F32vec3) |
TexCoords | 1 | Per-corner texture coords data, uv values (2 items per tuple, default attribute format type F32vec2) |
Normals | 2 | Per-corner vertex normals data, xyz values (3 items per tuple, default attribute format type F32vec3) |
Tangents | 3 | Per-corner vertex tangent data, xyz values (3 items per tuple, default attribute format type F32vec3) |
Bitangents | 4 | Per-corner vertex bitangent data, xyz values (3 items per tuple, default attribute format type F32vec3) |
Colors | 5 | Per-corner vertex color data, rgba values (4 items per tuple, default attribute format type F32vec4) |
TriangleIds | 6 | Per-triangle triangle ids, id values, not interpolated. (1 item per tuple, default attribute format type S32) |
MaterialIds | 7 | Per-triangle material ids, id values, not interpolated. (1 item per tuple, default attribute format type S32) |
VertexIds | 8 | Per-corner vertex ids, id values, not interpolated. (1 item per tuple, default attribute format type S32) |
UserVertexField | 9 | User-defined Per-vertex geometry data field. |
UserCornerField | 10 | User-defined Per-corner geometry data field. |
UserTriangleField | 11 | User-defined Per-triangle geometry data field. |
CustomField | 12 | Custom-size user-defined geometry data field. |
Key | Value | Comment |
---|---|---|
EGeometryDataFieldType_Coords | 0 | Per-vertex coordinate data, xyz values (3 items per tuple, default attribute format type F32vec3) |
EGeometryDataFieldType_TexCoords | 1 | Per-corner texture coords data, uv values (2 items per tuple, default attribute format type F32vec2) |
EGeometryDataFieldType_Normals | 2 | Per-corner vertex normals data, xyz values (3 items per tuple, default attribute format type F32vec3) |
EGeometryDataFieldType_Tangents | 3 | Per-corner vertex tangent data, xyz values (3 items per tuple, default attribute format type F32vec3) |
EGeometryDataFieldType_Bitangents | 4 | Per-corner vertex bitangent data, xyz values (3 items per tuple, default attribute format type F32vec3) |
EGeometryDataFieldType_Colors | 5 | Per-corner vertex color data, rgba values (4 items per tuple, default attribute format type F32vec4) |
EGeometryDataFieldType_TriangleIds | 6 | Per-triangle triangle ids, id values, not interpolated. (1 item per tuple, default attribute format type S32) |
EGeometryDataFieldType_MaterialIds | 7 | Per-triangle material ids, id values, not interpolated. (1 item per tuple, default attribute format type S32) |
EGeometryDataFieldType_VertexIds | 8 | Per-corner vertex ids, id values, not interpolated. (1 item per tuple, default attribute format type S32) |
EGeometryDataFieldType_UserVertexField | 9 | User-defined Per-vertex geometry data field. |
EGeometryDataFieldType_UserCornerField | 10 | User-defined Per-corner geometry data field. |
EGeometryDataFieldType_UserTriangleField | 11 | User-defined Per-triangle geometry data field. |
EGeometryDataFieldType_CustomField | 12 | Custom-size user-defined geometry data field. |