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

# VertexElementUV

## Overview

`VertexElementUV` is a class in Aspose.3D FOSS for Java.
Inherits from: `VertexElement`.

VertexElementUV.VertexElementUV creates a new instance with the given texture mapping, mapping mode, and reference mode.

This class provides 10 methods for working with VertexElementUV objects in Java programs.
Available methods include: `VertexElementUV`, `clone`, `getData`, `getIndices`, `getMapping`, `getMappingMode`, `getReferenceMode`, `getType`, `setData`, `setIndices`.
All public members are accessible to any Java application after installing the Aspose.3D FOSS for Java package.
Properties: `data`, `indices`, `mapping`, `mappingMode`, `referenceMode`, `type`.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `mapping` | `TextureMapping` | Read | Gets the mapping. |
| `type` | `VertexElementType` | Read | Gets the type. |
| `mappingMode` | `MappingMode` | Read | Gets the mapping mode. |
| `referenceMode` | `ReferenceMode` | Read | Gets the reference mode. |
| `indices` | `List` | Read | Gets the indices. |
| `data` | `List` | Read | Gets the data. |

## Methods

| Signature | Description |
|-----------|-------------|
| `VertexElementUV(mapping: TextureMapping, mappingMode: MappingMode, referenceMode: ReferenceMode)` | Creates a new instance with the given texture mapping, mapping mode, and reference mode |
| `getMapping()` → `TextureMapping` | Returns the mapping. |
| `getType()` → `VertexElementType` | Returns the type. |
| `getMappingMode()` → `MappingMode` | Returns the mapping mode. |
| `getReferenceMode()` → `ReferenceMode` | Returns the reference mode. |
| `getIndices()` → `List` | Returns the indices. |
| `getData()` → `List` | Returns the data. |
| `setData(data: List)` | Sets the data value. |
| `setIndices(indices: List)` | Sets the indices value. |
| `clone()` → `VertexElement` | Calls clone on this VertexElementUV instance. |

## See Also

- [Aspose.3D — Enterprise API Reference](https://reference.aspose.com/3d/)