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

ISpriteOutlineDataProvider

interface in UnityEditor.Experimental.U2D

マニュアルに切り替える

説明

Data provider that provides the outline data for SpriteRect.

The outline data is used to tessellate a Sprite's mesh.

Public 関数

GetOutlinesGiven a GUID, returns the outline data used for tessellating the SpriteRect.
GetTessellationDetailGiven a GUID, returns the tessellation detail. Tessellation value should be between 0 to 1.
SetOutlinesGiven a GUID, sets the outline data used for tessellating the SpriteRect.
SetTessellationDetailGiven a GUID, sets the tessellation detail. Tessellation value should be between 0 to 1.