ドキュメント

Unity Engine

Unity Engine

AspectFit

Scale the movie until one dimension fits on the screen exactly.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
AspectFit = 1

Remarks

In the other dimension, the region between the edge of the movie and the edge of the screen is filled with a black bar. The aspect ratio of the movie is preserved.