VertexField
Przegląd
VertexField jest klasą w Aspose.3D FOSS dla TypeScript.
VertexField.compareTo(other) zwraca numeryczną wartość porządkowania dla dwóch obiektów VertexField.
Ta klasa deklaruje 2 metody dla obiektów VertexField w programach TypeScript. Dostępne metody to: compareTo, constructor. Publiczne członki są dostępne dla dowolnej aplikacji TypeScript po zainstalowaniu pakietu Aspose.3D FOSS dla TypeScript. Właściwości: alias, dataType, index, offset, semantic, size.
Właściwości
| Nazwa | Typ | Dostęp | Opis |
|---|---|---|---|
dataType | VertexFieldDataType | Odczyt | Pobiera typ danych. |
semantic | VertexFieldSemantic | Odczyt | Pobiera semantykę. |
alias | string | Odczyt | Pobiera alias. |
index | number | Odczyt | Pobiera indeks. |
offset | number | Odczyt | Pobiera offset. |
size | number | Odczyt | Pobiera rozmiar. |
Metody
| Sygnatura | Opis |
|---|---|
constructor(dataType: VertexFieldDataType, semantic: VertexFieldSemantic, alias: string, offset: number, index: number) | Tworzy nowy VertexField z podanymi dataType, semantic, alias, offset i index |
compareTo(other: VertexField) → number | Zwraca wartość numeryczną wskazującą kolejność względem innego VertexField |