---
Product: Aspose.3D
Platform: net
Page Type: reference
Canonical URL: https://reference.aspose.org/3d/net/vertexelementuv
---

# VertexElementUV

## Overview

`VertexElementUV` is a class in Aspose.3D FOSS for .NET.
Inherits from: `VertexElementFVector`, `IIndexedVertexElement`.

Defines the UV coordinates for specified components.

This class provides 9 methods for working with VertexElementUV objects in .NET programs.
Available methods include: `AddData`, `Clear`, `CopyTo`, `SetData`, `SetIndices`, `ToString`, `VertexElementUV`.
All public members are accessible to any .NET application after installing the Aspose.3D FOSS for .NET package.
Properties: `Data`, `Indices`, `MappingMode`, `Name`, `ReferenceMode`, `VertexElementType`.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `Data` | `IArrayList<FVector4>` | Read | Gets the data. |
| `VertexElementType` | `VertexElementType` | Read | Gets the type of the |
| `Name` | `string` | Read/Write | Gets or sets the name. |
| `MappingMode` | `MappingMode` | Read/Write | Gets or sets how the element is mapped. |
| `ReferenceMode` | `ReferenceMode` | Read/Write | Gets or sets how the element is referenced. |
| `Indices` | `IArrayList<int>` | Read | Gets the indices data |

## Methods

| Signature | Description |
|-----------|-------------|
| `VertexElementUV()` | Initializes a new instance of the VertexElementUV class. |
| `VertexElementUV(textureMapping: TextureMapping)` | Initializes a new instance of the VertexElementUV class. |
| `AddData(data: IEnumerable<Vector2>)` | Calls AddData(data) on this VertexElementUV instance. |
| `AddData(data: IEnumerable<Vector3>)` | Calls AddData(data) on this VertexElementUV instance. |
| `CopyTo(target: VertexElementFVector)` | Copies data to specified element |
| `SetData(data: FVector4[])` | Sets the data |
| `Clear()` | Removes all elements from the direct and the index arrays. |
| `SetIndices(data: int[])` | Sets the indices data |
| `ToString()` | String representation of vertex element. |

## See Also
- [Aspose.3D for .NET — Enterprise API Reference](https://reference.aspose.com/3d/net/aspose.threed.entities/vertexelementuv/)