VertexElementIntsTemplate
Przegląd
VertexElementIntsTemplate jest klasą w Aspose.3D FOSS dla TypeScript. Dziedziczy po: VertexElement.
VertexElementIntsTemplate.setData zastępuje tablicę danych całkowitych elementu podanymi wartościami.
Ta klasa deklaruje 5 metod dla obiektów VertexElementIntsTemplate w programach TypeScript. Dostępne metody to: clear, constructor, copyTo, setData, setIndices. Publiczne członkowie są dostępne 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 | number[] | Odczyt | Pobiera dane. |
indices | number[] | Odczyt | Pobiera indeksy. |
vertexElementType | VertexElementType | Odczyt | Zwraca 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(elementType: VertexElementType, name: string, mappingMode: MappingMode | null, referenceMode: ReferenceMode |
setData(data: number[]) | Ustawia wartość danych. |
setIndices(data: number[]) | Ustawia wartość indeksów. |
clear() | Usuwa wszystkie przechowywane dane i indeksy, resetując element |
copyTo(target: VertexElementIntsTemplate) | Wywołuje copyTo(target) na tej instancji VertexElementIntsTemplate. |