VertexElementFVector

VertexElementFVector

Przegląd

VertexElementFVector jest klasą w Aspose.3D FOSS dla TypeScript. Dziedziczy po: VertexElement.

VertexElementFVector.constructor tworzy nowy VertexElementFVector o określonym typie, nazwie i opcjonalnych trybach mapowania/odwołań.

Ta klasa deklaruje 5 metod dla obiektów VertexElementFVector w programach TypeScript. Dostępne metody to: clear, constructor, copyTo, setData, setIndices. Publiczne członkowie 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

NazwaTypDostępOpis
dataFVector4[]OdczytPobiera dane.
indicesnumber[]OdczytPobiera indeksy.
vertexElementTypeVertexElementTypeOdczytPobiera typ elementu wierzchołka.
namestringOdczyt/zapisPobiera nazwę.
mappingModeMappingModeOdczyt/zapisPobiera tryb mapowania.
referenceModeReferenceModeOdczyt/zapisPobiera tryb referencji.

Metody

SygnaturaOpis
`constructor(elementType: VertexElementType, name: string, mappingMode: MappingModenull, referenceMode: ReferenceMode
`setData(data: FVector4[]FVector3[]
setIndices(data: number[])Ustawia wartość indeksów.
clear()Usuwa wszystkie przechowywane dane wektorowe i indeksy z elementu
copyTo(target: VertexElementFVector)Kopiuje dane i indeksy tego elementu do docelowego VertexElementFVector

Zobacz także

 Polski