VertexDeclaration

VertexDeclaration

Overview

VertexDeclaration is a class in Aspose.3D FOSS for .NET. Inherits from: IEnumerable<VertexField>, IEquatable<VertexDeclaration>, IComparable<VertexDeclaration>.

VertexDeclaration.VertexDeclaration creates a new empty vertex declaration.

Properties

NameTypeAccessDescription
SealedboolReadIndicates whether the declaration is immutable
CountintReadGets the number of fields in the declaration
SizeintReadGets the total size in bytes of the vertex layout

Methods

SignatureDescription
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 type, semantic, index and optional alias
GetHashCode()Returns a hash code for the declaration
Equals(obj: object?)Determines equality with another declaration
Equals(other: VertexDeclaration)
CompareTo(other: VertexDeclaration)Compares this declaration with another for ordering
ToString()Returns a string representation of the declaration
GetEnumerator()Returns an enumerator over the vertex fields

See Also