Documentation

Unity Engine

Unity Engine

SpriteMeshType

Defines the type of mesh generated for a sprite.
Read time 1 minuteLast updated a month 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.