Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


AspectFill

Scale the movie until the movie fills the entire screen.
Read time 1 minuteLast updated 10 days ago

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
AspectFill = 2

Remarks

Content at the edges of the larger of the two dimensions is clipped so that the other dimension fits the screen exactly. The aspect ratio of the movie is preserved.