SpriteDrawMode

enumeration

Description 描述

SpriteRenderer draw mode.

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

Properties 属性

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.