ScaleMode
Scaling mode to draw textures with.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Enum
- Namespace: UnityEngine
- Assembly: UnityEngine.IMGUIModule
public enum ScaleMode
Fields
Value | Description |
|---|---|
| ScaleAndCrop | Scales the texture, maintaining aspect ratio, so it completely covers the |
| ScaleToFit | Scales the texture, maintaining aspect ratio, so it completely fits withing the |
| StretchToFill | Stretches the texture to fill the complete rectangle passed in to GUI.DrawTexture. |