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
- Type: Property
- Namespace: UnityEditor.AssetImporters
- Assembly: UnityEditor.CoreModule
public Vector2[] vertices { get; set; }