Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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

public static void SetIndices(this Sprite sprite, NativeArray<ushort> src)

Parameters

sprite


The list of indices for this Sprite. The array must be disposed of by the caller.