기술 자료

Unity Engine

Unity Engine

GetIndices(Sprite)

Returns a list of indices. This is the same as Sprite.triangle.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public static NativeArray<ushort> GetIndices(this Sprite sprite)

Parameters

sprite

Returns

Type

Description

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