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 |
|---|---|
| Simple | Displays the full sprite. |
| Sliced | The SpriteRenderer will render the sprite as a 9-slice image where the corners will remain constant and the other sections will scale. |
| Tiled | The SpriteRenderer will render the sprite as a 9-slice image where the corners will remain constant and the other sections will tile. |