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

SpriteRendererDataAccessExtensions.GetDeformableVertices

Declaration

public static NativeArray<Vector3> GetDeformableVertices(SpriteRenderer spriteRenderer);

Description

Returns an array of vertices to be deformed by the caller.

It is compulsory to use the new JobSystem for this API to work properly.