기술 자료

Unity Engine


Unity Engine


spriteMeshType

SpriteMeshType defines the type of Mesh that TextureImporter generates for a Sprite.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public SpriteMeshType spriteMeshType { get; set; }

Remarks

When SpriteMeshType.FullRect is specified, it will generate a rectangle Mesh equal to the user specified Sprite size.
When SpriteMeshType.Tight is specified, it will generate a tight Mesh based on pixel alpha values.