VertexDeclaration Class
The declaration of a custom defined vertex's structure
Inheritance Hierarchy
SystemObject
  Aspose.ThreeD.UtilitiesVertexDeclaration

Namespace: Aspose.ThreeD.Utilities
Assembly: Aspose.3D (in Aspose.3D.dll) Version: 20.3.0.0 (20.3)
Syntax
public sealed class VertexDeclaration : IEnumerable<VertexField>, 
	IEnumerable, IComparable<VertexDeclaration>

The VertexDeclaration type exposes the following members.

Constructors
  NameDescription
Public methodVertexDeclaration
Initializes a new instance of the VertexDeclaration class
Properties
  NameDescription
Public propertyCount
Gets the count of all fields defined in this VertexDeclaration
Public propertyItem
Gets the VertexField by index
Public propertySealed
Public propertySize
The size in byte of the vertex structure.
Methods
  NameDescription
Public methodAddField
Add a new vertex field
Public methodClear
Clear all fields.
Public methodCompareTo
Compares this instance to a specified object and returns an indication of their relative values.
Public methodEquals
Determines whether this instance and a specified object, which must also be a VertexDeclaration object, have the same value.
(Overrides ObjectEquals(Object).)
Public methodStatic memberFromGeometry
Create a VertexDeclaration based on a Geometry's layout.
Public methodStatic memberFromTypeT
Construct a VertexDeclaration directly from a struct type. Each instance field shall be annotated with SemanticAttribute.
Public methodGetEnumerator
Gets an enumerator to walk through all vertex fields in this instance.
Public methodGetHashCode
Returns the hash code for this string.
(Overrides ObjectGetHashCode.)
Public methodGetType (Inherited from Object.)
Public methodToString
String representation of VertexDeclaration
(Overrides ObjectToString.)
See Also