VertexField

Overview

VertexField is a class in Aspose.3D FOSS for TypeScript.

VertexField.compareTo(other) returns a numeric ordering value for two VertexField objects.

This class declares 2 methods for VertexField objects in TypeScript programs. Available methods include: compareTo, constructor. Public members are accessible to any TypeScript application after installing the Aspose.3D FOSS for TypeScript package. Properties: alias, dataType, index, offset, semantic, size.

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

 English