VertexElementIntsTemplate

VertexElementIntsTemplate

General

VertexElementIntsTemplate is a class in Aspose.3d for Typescript. Inherits from: VertexElementIntsTemplate, VertexElement.

VertexElementIntsTemplate és una classe de l’objectiu.3d per a Typescript. Hereta de: ゚VertexElementIntsTemplate⌒, ヽ VertexElement` .

VertexElementIntsTemplate.setData reemplaça la matriu de dades d’enters de l’element amb els valors proporcionats.

Propietats

NameTypeAccessDescription
datanumber[]ReadHolds the integer values of the vertex element
indicesnumber[]ReadHolds the integer index buffer for the vertex element

Mètodes

SignatureDescription
`constructor(elementType: VertexElementType, name: string, mappingMode: MappingModenull, referenceMode: ReferenceMode
setData(data: number[])Replaces the element’s integer data array with the provided values
setIndices(data: number[])Sets the index buffer for the element using the given integer array
clear()Removes all data and indices, resetting the element to an empty state
copyTo(target: VertexElementIntsTemplate)
 Català