VertexElementUV

Overview

VertexElementUV is a class in Aspose.3D FOSS for Typescript. Inherits from: VertexElementFVector.

VertexElementUV.constructor creates a UV element with optional texture mapping, name, mapping and reference modes.

Properties

NameTypeAccessDescription
textureMappingTextureMappingReadHolds the associated TextureMapping object for this UV element
dataFVector4[]ReadProvides the stored UV coordinates as an array of FVector4 values
uvDataFVector2[]Read

Methods

SignatureDescription
constructor(textureMapping: TextureMapping | null, name: string, mappingMode: MappingMode | null, referenceMode: ReferenceMode | null)Creates a UV element with optional texture mapping, name, mapping and reference modes
addData(data: FVector2[] | FVector3[] | FVector4[])Appends an array of 2D, 3D, or 4D vectors as UV coordinate data

See Also