VertexDeclaration
General
VertexDeclaration is a class in Aspose.3D FOSS for .NET.
Inherits from: IEnumerable<VertexField>, IEquatable<VertexDeclaration>, IComparable<VertexDeclaration>.
VertexDeclaration') és una classe en Aspose.3D FOSS per a .NET. És heretat de: ゚IEnumerable<VertexField>, ⌒IEquatable
VertexDeclaration.VertexDeclaration crea una nova declaració de vèrtex buida.
Propietats
| Name | Type | Access | Description |
|---|---|---|---|
Sealed | bool | Read | Indicates whether the declaration is immutable |
Count | int | Read | Gets the number of fields in the declaration |
Size | int | Read | Gets the total size in bytes of a vertex defined by the declaration |
Mètodes
| Signature | Description |
|---|---|
VertexDeclaration() | Creates a new empty vertex declaration |
Clear() | Removes all fields from the declaration |
AddField(dataType: VertexFieldDataType, semantic: VertexFieldSemantic, index: int, alias: string) | Adds a vertex field with the given data type, semantic, index, and alias |
GetHashCode() | Returns a hash code for the declaration |
Equals(obj: object?) | Determines whether the declaration equals another VertexDeclaration |
Equals(other: VertexDeclaration) | |
CompareTo(other: VertexDeclaration) | Compares this declaration with another for sorting order |
ToString() | Returns a string representation of the declaration |
GetEnumerator() | Provides an iterator over the declaration’s fields |