
## add_field(self, data_type, semantic, index, alias) {#aspose.threed.utilities.VertexFieldDataType-aspose.threed.utilities.VertexFieldSemantic-int-str}

Add a new vertex field



```python

def add_field(self, data_type, semantic, index, alias):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| data_type | [`VertexFieldDataType`](/3d/python-net/aspose.threed.utilities/vertexfielddatatype) | The data type of the vertex field |
| semantic | [`VertexFieldSemantic`](/3d/python-net/aspose.threed.utilities/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`](/3d/python-net/aspose.threed.utilities/vertexdeclaration)
