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
| Name | Type | Access | Description |
|---|---|---|---|
data | number[] | Read | Holds the integer values associated with the vertex element |
indices | number[] | Read | Holds the index mapping for the vertex element’s data |
Methods
| Signature | Description |
|---|---|
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) |