Version: 2018.3 (switch to 2019.1)
LanguageEnglish
  • C#
Experimental: this API is experimental and might be changed or removed in the future.

SpriteRendererDataAccessExtensions.GetDeformableVertices

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.

Did you find this page useful? Please give it a rating: