VertexElementFVector

VertexElementFVector

概要

VertexElementFVector は Aspose.3D の FOSS における TypeScript 用のクラスです。継承元: VertexElement。

VertexElementFVector.constructor は、指定されたタイプ、名前、およびオプションのマッピング/リファレンスモードを持つ新しい VertexElementFVector を作成します。

このクラスは TypeScript プログラム内の VertexElementFVector オブジェクト向けに 5 つのメソッドを宣言します。利用可能なメソッドは clear、constructor、copyTo、setData、setIndices です。公開メンバーは、TypeScript 用の Aspose.3D FOSS パッケージをインストールした後、任意の TypeScript アプリケーションからアクセス可能です。プロパティ: data、indices、mappingMode、name、referenceMode、vertexElementType。

プロパティ

名前型アクセス説明
dataFVector4[]読み取りデータを取得します。
indicesnumber[]読み取りインデックスを取得します。
vertexElementTypeVertexElementType読み取り頂点要素のタイプを取得します。
namestring読み取り/書き込み名前を取得します。
mappingModeMappingMode読み取り/書き込みマッピングモードを取得します。
referenceModeReferenceMode読み取り/書き込み参照モードを取得します。

メソッド

シグネチャ説明
`constructor(elementType: VertexElementType, name: string, mappingMode: MappingModenull, referenceMode: ReferenceMode
`setData(data: FVector4[]FVector3[]
setIndices(data: number[])インデックスの値を設定します。
clear()要素から保存されているすべてのベクトルデータとインデックスを削除します
copyTo(target: VertexElementFVector)この要素のデータとインデックスを対象の VertexElementFVector にコピーします

参照

 日本語