VertexDeclaration class

VertexDeclaration class

The declaration of a custom defined vertex’s structure

The VertexDeclaration type exposes the following members:

Constructors

ConstructorDescription
initConstructs a new instance of VertexDeclaration

Properties

PropertyDescription
sealedA VertexDeclaration will be sealed when its been used by TriMesh1 or [TriMesh`](/3d/python-net/aspose.threed.entities/trimesh), no more modifications is allowed.
countGets the count of all fields defined in this VertexDeclaration
sizeThe size in byte of the vertex structure.

Indexer

NameDescription
[index]

Methods

MethodDescription
clearClear all fields.
add_fieldAdd a new vertex field
from_geometryCreate a VertexDeclaration based on a Geometry’s layout.
compare_toCompares this instance to a specified object and returns an indication of their relative values.

See Also