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

SpriteDataAccessExtensions.SetIndices

Switch to Manual
public static void SetIndices (Sprite sprite, NativeArray<ushort> src);

Parameters

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

Description

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