# GetVertices

> Get the vertices of the billboard mesh.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine](/engine/6000.3/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule

## GetVertices(List\<Vector2>)

Get the vertices of the billboard mesh.

```csharp
public void GetVertices(List<Vector2> vertices)
```

### Parameters

**** (\[List\<Vector2>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)): The list that receives the array.

### Remarks

Each vertex is a [Vector2](/engine/6000.3/script-reference/unityengine/vector2.md) in UV space. The second overload guarantees no memory allocation happening if the list capacity is big enough to hold the data.

Additional Resources: [BillboardAsset](/engine/6000.3/script-reference/unityengine/billboardasset.md), [BillboardAsset.SetVertices](/engine/6000.3/script-reference/unityengine/billboardasset/setvertices.md).

## GetVertices()

Get the vertices of the billboard mesh.

```csharp
public Vector2[] GetVertices()
```

### Returns

| Type                                                                  | Description |
| --------------------------------------------------------------------- | ----------- |
| [Vector2\[\]](/engine/6000.3/script-reference/unityengine/vector2.md) |             |

### Remarks

Each vertex is a [Vector2](/engine/6000.3/script-reference/unityengine/vector2.md) in UV space. The second overload guarantees no memory allocation happening if the list capacity is big enough to hold the data.

Additional Resources: [BillboardAsset](/engine/6000.3/script-reference/unityengine/billboardasset.md), [BillboardAsset.SetVertices](/engine/6000.3/script-reference/unityengine/billboardasset/setvertices.md).
