VertexElementFVector
VertexElementFVector
Overview
VertexElementFVector 是一个类在Aspose.3D FOSS for Typescript中. 继承人: VertexElement.
VertexElementFVector.constructor creates a new VertexElementFVector with specified type, name, and optional mapping/reference modes.
本类提供了5种方法,用于在TypeScript程序中与VertexElementFVector对象工作. 有的方法包括: clear, constructor, copyTo, setData, setIndices. 在安装Aspose.3D FOSS for Typescript 包后,所有公众成员都可以访问任何TypeScript应用程序. 特性: data, indices.
Description
VertexElementFVector 是Aspose.3D FOSS库中的一个类,该类可用于 TypeScript 应用程序中显示4种方法和2个属性. 它扩展到 VertexElement, 继承了其母型的共享功能.
核心能力包括: fvector4[]; number[];创建一个新的 vertexelementfvector,具有指定类型,名称和可选的映射/引用模式.这些操作使开发人员能够直接将 verteXelement fvectors 功能集成到 TypeScript 应用程序中.
课程还提供了 data 产品 (获取数据), indices 获得指数.
实例通过单个构造器创建,该构成者将对象初始化为默认值.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
data | FVector4[] | Read | 得到数据. |
indices | number[] | Read | 得到了指标. |
Methods
| Signature | Description |
|---|---|
| `constructor(elementType: VertexElementType, name: string, mappingMode: MappingMode | null, referenceMode: ReferenceMode |
| `setData(data: FVector4[] | FVector3[] |
setIndices(data: number[]) | 设置索引值. |
clear() | 从元素中删除所有存储的向量数据和索引. |
copyTo(target: VertexElementFVector) | 将该元素的数据和索引复制到目标 VertexElementFVector 中. |