ドキュメント

Unity Engine

Unity Engine

GetVertices

Get the vertices of the billboard mesh.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule

GetVertices(List<Vector2>)

Get the vertices of the billboard mesh.
public void GetVertices(List<Vector2> vertices)

Parameters

The list that receives the array.

Remarks

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.

GetVertices()

Get the vertices of the billboard mesh.
public Vector2[] GetVertices()

Returns

Type

Description

Vector2[]

Remarks

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.