VertexField
Overview
VertexField is a class in Aspose.3D FOSS for Typescript.
VertexField.constructor creates a new VertexField with given dataType, semantic, alias, offset, and index.
This class provides 2 methods for working with VertexField objects in Typescript programs.
Available methods include: compareTo, constructor.
All public members are accessible to any Typescript application after installing the Aspose.3D FOSS for Typescript package.
Properties: alias, dataType, index, offset, semantic, size.
Description
VertexField is a class in the Aspose.3D FOSS library for TypeScript that exposes 1 method and 6 properties for programmatic use.
Core capabilities include: vertexfielddatatype; vertexfieldsemantic; string. These operations enable developers to integrate vertexfield functionality directly into TypeScript applications.
The class also provides the dataType property (gets the data type), the semantic property (gets the semantic), the alias property (gets the alias).
Instances are created through a single constructor that initializes the object with default values.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
dataType | VertexFieldDataType | Read | Gets the data type. |
semantic | VertexFieldSemantic | Read | Gets the semantic. |
alias | string | Read | Gets the alias. |
index | number | Read | Gets the index. |
offset | number | Read | Gets the offset. |
size | number | Read | Gets the size. |
Methods
| Signature | Description |
|---|---|
constructor(dataType: VertexFieldDataType, semantic: VertexFieldSemantic, alias: string, offset: number, index: number) | Creates a new VertexField with given dataType, semantic, alias, offset, and index |
compareTo(other: VertexField) → number | Returns a numeric value indicating ordering relative to another VertexField |