文档

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.