VertexDeclaration.AddField
VertexDeclaration.AddField method
Add a new vertex field
public VertexField AddField(VertexFieldDataType dataType, VertexFieldSemantic semantic,
int index = -1, string alias = null)
Parameter | Type | Description |
---|---|---|
dataType | VertexFieldDataType | The data type of the vertex field |
semantic | VertexFieldSemantic | How will this field used for |
index | Int32 | The index for same field semantic, -1 for auto-generation |
alias | String | The alias name of the field |
See Also
- class VertexField
- enum VertexFieldDataType
- enum VertexFieldSemantic
- class VertexDeclaration
- namespace Aspose.ThreeD.Utilities
- assembly Aspose.3D