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

SpriteDataAccessExtensions.SetVertexCount

切换到手册
public static void SetVertexCount (Sprite sprite, int count);

描述

设置顶点数。这可调整内部缓冲区的大小。还可保存 VertexAttribute 的所有配置。