VertexElementUV

Przegląd

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

VertexElementUV.constructor tworzy element UV z opcjonalnym mapowaniem tekstury, nazwą, mapowaniem i trybami odniesienia.

Ta klasa deklaruje 7 metod dla obiektów VertexElementUV w programach TypeScript. Dostępne metody to: addData, clear, constructor, copyTo, setData, setIndices. Publiczne członki 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, textureMapping oraz 2 dodatkowe.

Właściwości

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

Metody

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

Zobacz także

 Polski