ScaleToFit
Scales the texture, maintaining aspect ratio, so it completely fits withing the position rectangle passed to GUI.DrawTexture.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Field
- Namespace: UnityEngine
- Assembly: UnityEngine.IMGUIModule
ScaleToFit = 2