This version of Unity is unsupported.
Experimental: this API is experimental and might be changed or removed in the future.

ISpritePhysicsOutlineDataProvider.GetOutlines

Declaration

public List<Vector2[]> GetOutlines(GUID guid);

Parameters

guid GUID of the SpriteRect.

Returns

List<Vector2[]> Physics outline data for the SpriteRect.

Description

Given a GUID, returns the Physics outline data used for the SpriteRect.