Documentation

Unity Engine

Unity Engine

SetVertexCount(Sprite, int)

Sets the vertex count. This resizes the internal buffer. It also preserves any configurations of VertexAttributes.
Read time 1 minuteLast updated a month ago

Definition

public static void SetVertexCount(this Sprite sprite, int count)

Parameters

sprite


count