기술 자료

Unity Engine

Unity Engine

AspectFit

Scale the movie until one dimension fits on the screen exactly.
읽는 시간 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.