VertexElementBinormal
Przegląd
VertexElementBinormal jest klasą w Aspose.3D FOSS dla TypeScript. Dziedziczy po: VertexElementFVector.
VertexElementBinormal.constructor tworzy element wierzchołka binormalnego o podanej nazwie, trybie mapowania i trybie referencji.
Ta klasa deklaruje 6 metod dla obiektów VertexElementBinormal w programach TypeScript. Dostępne metody to: clear, constructor, copyTo, setData, setIndices. Członkowie publiczni są dostępni dla każdej 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 referencji. |
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 VertexElementBinormal. |
copyTo(target: VertexElementFVector) | Wywołuje copyTo(target) na tej instancji VertexElementBinormal. |