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

SpriteDataAccessExtensions.SetVertexCount

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.