VertexField
Overview
VertexField is a class in Aspose.3D FOSS for .NET.
Inherits from: IComparable<VertexField>, IEquatable<VertexField>.
VertexField.VertexField initializes a vertex field with type, semantic, index, alias, offset, and size.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
DataType | VertexFieldDataType | Read | Gets the data type of the vertex field |
Semantic | VertexFieldSemantic | Read | Gets the semantic meaning of the vertex field |
Alias | string | Read | Gets the custom alias name of the vertex field |
Index | int | Read | Gets the index of the vertex field within its collection |
Offset | int | Read | Gets the byte offset of the vertex field in a buffer |
Size | int | Read | Gets the size in bytes of the vertex field |
Methods
| Signature | Description |
|---|---|
VertexField(dataType: VertexFieldDataType, semantic: VertexFieldSemantic, index: int, alias: string, offset: int, size: int) | Initializes a vertex field with type, semantic, index, alias, offset, and size |
GetHashCode() | Returns a hash code for the vertex field instance |
Equals(obj: object?) | Checks equality with another object |
Equals(other: VertexField) | |
CompareTo(other: VertexField) | Compares this vertex field to another for ordering |
ToString() | Returns a string representation of the vertex field |