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.
This class provides 5 methods for working with VertexElementIntsTemplate objects in Typescript programs.
Available methods include: clear, constructor, copyTo, setData, setIndices.
All public members are accessible to any Typescript application after installing the Aspose.3D FOSS for Typescript package.
Properties: data, indices.
Description
VertexElementIntsTemplate is a class in the Aspose.3D FOSS library for TypeScript that exposes 4 methods and 2 properties for programmatic use. It extends VertexElement, inheriting shared functionality from its parent type.
Core capabilities include: number[]; number[]; sets the data value. These operations enable developers to integrate vertexelementintstemplate functionality directly into TypeScript applications.
The class also provides the data property (gets the data), the indices property (gets the indices).
Instances are created through a single constructor that initializes the object with default values.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
data | number[] | Read | Gets the data. |
indices | number[] | Read | Gets the indices. |
Methods
| Signature | Description |
|---|---|
constructor(elementType: VertexElementType, name: string, mappingMode: MappingMode | null, referenceMode: ReferenceMode | null) | |
setData(data: number[]) | Sets the data value. |
setIndices(data: number[]) | Sets the indices value. |
clear() | Removes all stored data and indices, resetting the element |
copyTo(target: VertexElementIntsTemplate) |