ドキュメント

Unity Engine

Unity Engine

SpriteDrawMode

SpriteRenderer draw mode.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

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

Remarks

Enum defining the draw mode for SpriteRenderer.drawMode. This controls how to display the Sprite.

Fields

Value

Description

SimpleDisplays the full sprite.
SlicedThe SpriteRenderer will render the sprite as a 9-slice image where the corners will remain constant and the other sections will scale.
TiledThe SpriteRenderer will render the sprite as a 9-slice image where the corners will remain constant and the other sections will tile.