Experimental: this API is experimental and might be changed or removed in the future.

SpriteDataAccessExtensions.SetIndices

切换到手册
public static void SetIndices (Sprite sprite, NativeArray<ushort> src);

参数

src此精灵的索引列表。数组必须由调用程序处置。

描述

为此精灵设置索引。这与 Sprite.triangle 相同。