VertexField

General

VertexField és una classe de l’Aspose.3d per a Typescript. Hereta del: ゚VertexField⌒ .

VertexField.constructor crea un nou VertexField amb el tipus de dades donat, semàntica, alias, offset i index.

Propietats

NameTypeAccessDescription
dataTypeVertexFieldDataTypeReadStores the VertexFieldDataType that defines the field’s data representation
semanticVertexFieldSemanticReadHolds the VertexFieldSemantic indicating the field’s purpose in the vertex layout
aliasstringReadIs a string that provides a custom name for the vertex field
indexnumberReadIndicates the sequential index of the field within the vertex declaration
offsetnumberReadSpecifies the byte offset of the field from the start of the vertex data
sizenumberReadReturns the size in bytes of the field based on its data type

Mètodes

SignatureDescription
constructor(dataType: VertexFieldDataType, semantic: VertexFieldSemantic, alias: string, offset: number, index: number)Creates a new VertexField with the given data type, semantic, alias, offset, and index
compareTo(other: VertexField)numberReturns a numeric ordering value when compared with another VertexField
 Català