VertexElementTangent
Przegląd
VertexElementTangent jest klasą w Aspose.3D FOSS dla TypeScript. Dziedziczy po: VertexElementFVector.
Ta klasa deklaruje 6 metod dla obiektów VertexElementTangent w programach TypeScript. Dostępne metody to: clear, constructor, copyTo, setData, setIndices. Publiczne elementy są dostępne dla dowolnej aplikacji TypeScript po zainstalowaniu pakietu Aspose.3D FOSS dla TypeScript. Właściwości: data, indices, mappingMode, name, referenceMode, vertexElementType.
Właściwości
| Nazwa | Typ | Dostęp | Opis |
|---|---|---|---|
data | FVector4[] | Odczyt | Pobiera dane. |
indices | number[] | Odczyt | Pobiera indeksy. |
vertexElementType | VertexElementType | Odczyt | Pobiera typ elementu wierzchołka. |
name | string | Odczyt/zapis | Pobiera nazwę. |
mappingMode | MappingMode | Odczyt/zapis | Pobiera tryb mapowania. |
referenceMode | ReferenceMode | Odczyt/zapis | Pobiera tryb referencyjny. |
Metody
| Sygnatura | Opis |
|---|---|
| `constructor(name: string, mappingMode: MappingMode | null, referenceMode: ReferenceMode |
| `constructor(elementType: VertexElementType, name: string, mappingMode: MappingMode | null, referenceMode: ReferenceMode |
| `setData(data: FVector4[] | FVector3[] |
setIndices(data: number[]) | Ustawia wartość indeksów. |
clear() | Wywołuje clear na tej instancji VertexElementTangent. |
copyTo(target: VertexElementFVector) | Wywołuje copyTo(target) na tej instancji VertexElementTangent. |