SetIndices(Sprite, NativeArray<ushort>)
Set the indices for this Sprite. This is the same as Sprite.triangle.
Read time 1 minuteLast updated 11 days ago
Definition
- Type: Method
- Namespace: UnityEngine.U2D
- Assembly: UnityEngine.CoreModule
public static void SetIndices(this Sprite sprite, NativeArray<ushort> src)
Parameters
The list of indices for this Sprite. The array must be disposed of by the caller.