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
| Name | Type | Access | Description |
|---|---|---|---|
textureMapping | TextureMapping | Read | Holds the associated TextureMapping object for this UV element |
data | FVector4[] | Read | Provides the stored UV coordinates as an array of FVector4 values |
uvData | FVector2[] | Read |
Methods
| Signature | Description |
|---|---|
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 |