add_field method
add_field(self, data_type, semantic, index, alias)
Add a new vertex field
def add_field(self, data_type, semantic, index, alias):
...
| Parameter | Type | Description |
|---|---|---|
| data_type | VertexFieldDataType | The data type of the vertex field |
| semantic | VertexFieldSemantic | How will this field used for |
| index | int | The index for same field semantic, -1 for auto-generation |
| alias | str | The alias name of the field |
See Also
- module
aspose.threed.utilities - class
VertexDeclaration