BillboardAsset.GetVertices

Switch to Manual
public Vector2[] GetVertices();
public void GetVertices(List<Vector2> vertices);

Parameters

vertices The 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.

Did you find this page useful? Please give it a rating: