Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SpriteMeshType

Defines the type of mesh generated for a sprite.
Read time 1 minuteLast updated 5 days ago

Definition

  • Type: Enum
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public enum SpriteMeshType

Fields

Value

Description

FullRectRectangle mesh equal to the user specified sprite size.
TightTight mesh based on pixel alpha values. As many excess pixels are cropped as possible.