The vertexAttribute object describes valid properties for a single vertex.
cmn::defaultGeometrySchema, cmn::vestedGeometryParams
Property | Type | Description |
---|---|---|
position | geometryAttribute | The vertex position. |
normal | geometryAttribute | The vertex normal. |
uv0 | geometryAttribute | The first set of UV coordinates. |
color | geometryAttribute | The color attribute. |
region | geometryAttribute | The region attribute. |
Note: properties in bold are required
{
"position": {
"byteOffset": 8,
"valueType": "Float32",
"valuesPerElement": 3
},
"normal": {
"byteOffset": 2672,
"valueType": "Float32",
"valuesPerElement": 3
},
"uv0": {
"byteOffset": 5336,
"valueType": "Float32",
"valuesPerElement": 2
},
"color": {
"byteOffset": 7112,
"valueType": "UInt8",
"valuesPerElement": 4
}
}