VertexElementIntsTemplate
VertexElementIntsTemplate
概述
VertexElementIntsTemplate 是一个类在Aspose.3D FOSS for Typescript中. 继承人: VertexElement.
VertexElementIntsTemplate.setData replaces the element’s integer data array with the provided values.
本类提供了5种方法,用于在TypeScript程序中使用VertexElementIntsTemplate对象. 有的方法包括: clear, constructor, copyTo, setData, setIndices. 在安装Aspose.3D FOSS for Typescript 包后,所有公众成员都可以访问任何TypeScript应用程序. 特性: data, indices.
描述
VertexElementIntsTemplate 是Aspose.3D FOSS库中的一个类,该类可用于 TypeScript 应用程序中显示4个方法和2个属性. 它扩展到 VertexElement, 继承了其母型的共享功能.
核心能力包括: number[]; number[]; 设置数据值.这些操作使开发人员能够直接将 vertexelementintstamplate功能集成到 TypeScript 应用程序中.
课程还提供了 data 产品 (获取数据), indices 获得指数.
实例通过单个构造器创建,该构成者将对象初始化为默认值.
属性
| Name | Type | Access | Description |
|---|---|---|---|
data | number[] | Read | 得到数据. |
indices | number[] | Read | 得到了指标. |
方法
| Signature | Description |
|---|---|
| `constructor(elementType: VertexElementType, name: string, mappingMode: MappingMode | null, referenceMode: ReferenceMode |
setData(data: number[]) | 设置数据值. |
setIndices(data: number[]) | 设置索引值. |
clear() | 删除所有存储数据和索引,重新设置元素 |
copyTo(target: VertexElementIntsTemplate) |