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

NameTypeAccessDescription
dataTypeVertexFieldDataTypeReadGets the data type.
semanticVertexFieldSemanticReadGets the semantic.
aliasstringReadGets the alias.
indexnumberReadGets the index.
offsetnumberReadGets the offset.
sizenumberReadGets the size.

Methods

SignatureDescription
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)numberReturns a numeric value indicating ordering relative to another VertexField

See Also