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

SpriteDataAccessExtensions.GetIndices

マニュアルに切り替える
public static NativeArray<ushort> GetIndices (Sprite sprite);

戻り値

NativeArray<ushort> A read-only list of indices indicating how the triangles are formed between the vertices. The array is marked as undisposable.

説明

Returns a list of indices. This is the same as Sprite.triangle.