文档

Unity Engine

Download Unity

Unity Engine

ScaleToFit

Scales the texture, maintaining aspect ratio, so it completely fits withing the position rectangle passed to GUI.DrawTexture.
阅读时间1 分钟最后更新于 2 个月前

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.IMGUIModule
ScaleToFit = 2