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

# VertexElement

## Overview

`VertexElement` is a class in Aspose.3D FOSS for Java.

VertexElement.getType returns the element's data type.

This class provides 8 methods for working with VertexElement objects in Java programs.
Available methods include: `clone`, `getData`, `getIndices`, `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`, `mappingMode`, `referenceMode`, `type`.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `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 |
|-----------|-------------|
| `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` | Creates a deep copy of this VertexElement |

## See Also

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