Version: 2018.2

SpriteDrawMode

enumeration

Switch to Manual

Description

SpriteRenderer draw mode.

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

Variables

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.