Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

SpriteDataAccessExtensions.SetVertexCount

Declaration

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.