## VertexElement class

  Base class of vertex elements.  A vertex element type is identified by VertexElementType.  A VertexElement describes how the vertex element is mapped to a geometry surface and how the mapping information is arranged in memory.  A VertexElement contains Normals, UVs or other kind of information.  @hideconstructor


## Methods

### getVertexElementType{#getVertexElementType}

| Name | Description |
| --- | --- |
| getVertexElementType() | Gets the type of the VertexElementThe value of the property is VertexElementType integer constant. | 

 **Result:**



---


### getName{#getName}

| Name | Description |
| --- | --- |
| getName() | Gets or sets the name. The name. | 

 **Result:**



---


### setName{#setName}

| Name | Description |
| --- | --- |
| setName(value) | Gets or sets the name. The name. | 

 **Result:**



---


### getMappingMode{#getMappingMode}

| Name | Description |
| --- | --- |
| getMappingMode() | Gets or sets how the element is mapped. The value of the property is MappingMode integer constant. | 

 **Result:**



---


### setMappingMode{#setMappingMode}

| Name | Description |
| --- | --- |
| setMappingMode(value) | Gets or sets how the element is mapped. The value of the property is MappingMode integer constant. | 

 **Result:**



---


### getReferenceMode{#getReferenceMode}

| Name | Description |
| --- | --- |
| getReferenceMode() | Gets or sets how the element is referenced. The value of the property is ReferenceMode integer constant. | 

 **Result:**



---


### setReferenceMode{#setReferenceMode}

| Name | Description |
| --- | --- |
| setReferenceMode(value) | Gets or sets how the element is referenced. The value of the property is ReferenceMode integer constant. | 

 **Result:**



---


### getIndices{#getIndices}

| Name | Description |
| --- | --- |
| getIndices() | Gets the indices data The index array. | 

 **Result:**



---


### setIndices{#setIndices}

| Name | Description |
| --- | --- |
| setIndices(data) | Load indices | 

 **Parameters:**

| Name | Type | Description |
| --- | --- | --- |
|  dat | Number[] | null |

 **Result:**



---


### clear{#clear}

| Name | Description |
| --- | --- |
| clear() | Clears all the data from this vertex element. | 

 **Result:**



---


### toString{#toString}

| Name | Description |
| --- | --- |
| toString() | String representation of vertex element. | 

 **Result:**
String


---



