文档

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.