BillboardAsset.GetIndices

Switch to Manual

Declaration

public ushort[] GetIndices();

Declaration

public void GetIndices(List<ushort> indices);

Parameters

indices The list that receives the array.

Description

Get the indices of the billboard mesh.

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.

Additional resources: BillboardAsset, SetIndices.


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