Legacy Documentation: Version 2018.2 (Go to current version)
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: