VertexElementIntsTemplate

VertexElementIntsTemplate

Overview

VertexElementIntsTemplate is a class in Aspose.3D FOSS for Typescript. Inherits from: VertexElement.

VertexElementIntsTemplate.setData replaces the element’s integer data array with the provided values.

Properties

NameTypeAccessDescription
datanumber[]ReadHolds the integer values associated with the vertex element
indicesnumber[]ReadHolds the index mapping for the vertex element’s data

Methods

SignatureDescription
constructor(elementType: VertexElementType, name: string, mappingMode: MappingMode | null, referenceMode: ReferenceMode | null)
setData(data: number[])Replaces the element’s integer data array with the provided values
setIndices(data: number[])Sets the index array used for referencing integer data
clear()Removes all stored data and indices, resetting the element
copyTo(target: VertexElementIntsTemplate)

See Also