VertexElementNormal

VertexElementNormal

Przegląd

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

VertexElementNormal.constructor tworzy normalny element wierzchołka z podaną nazwą oraz opcjonalnymi trybami mapowania i referencji.

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

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

Metody

SygnaturaOpis
`constructor(name: string, mappingMode: MappingModenull, referenceMode: ReferenceMode
`constructor(elementType: VertexElementType, name: string, mappingMode: MappingModenull, referenceMode: ReferenceMode
`setData(data: FVector4[]FVector3[]
setIndices(data: number[])Ustawia wartość indeksów.
clear()Wywołuje metodę clear na tej instancji VertexElementNormal.
copyTo(target: VertexElementFVector)Wywołuje metodę copyTo(target) na tej instancji VertexElementNormal.

Zobacz także

 Polski