Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


vertices

The vertices of the mesh to generate the Sprite with, in pixels from the corner of SpriteImportData.rect. Supply these together with SpriteImportData.indices to use a mesh of your own instead of one generated from the texture, in which case SpriteImportData.outline and SpriteImportData.tessellationDetail are ignored.
Read time 1 minuteLast updated 8 days ago

Definition

public Vector2[] vertices { get; set; }