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

SpriteDataAccessExtensions.SetVertexCount

Switch to Manual
public static void SetVertexCount (Sprite sprite, int count);

Description

Sets the vertex count. This resizes the internal buffer. It also preserves any configurations of VertexAttributes.