Version: 2019.2
public Vector2[] GetVertices ();
public void GetVertices (List<Vector2> vertices);

Parameters

verticesThe list that receives the array.

Description

Get the vertices of the billboard mesh.

Each vertex is a Vector2 in UV space. The second overload guarantees no memory allocation happening if the list capacity is big enough to hold the data.

See Also: BillboardAsset, SetVertices.