ドキュメント

Unity Engine

Unity Engine

GetIndices

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

Definition

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

GetIndices(List<ushort>)

Get the indices of the billboard mesh.
public void GetIndices(List<ushort> indices)

Parameters

The list that receives the array.

Remarks

Billboard meshes are always made of triangles. Specify the index of each vertex (in the vertices array) for each triangle. The second overload guarantees no memory allocation happening if the list capacity is big enough to hold the data.

GetIndices()

Get the indices of the billboard mesh.
public ushort[] GetIndices()

Returns

Type

Description

ushort[]

Remarks

Billboard meshes are always made of triangles. Specify the index of each vertex (in the vertices array) for each triangle. The second overload guarantees no memory allocation happening if the list capacity is big enough to hold the data.