Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

AspectRatio

Description

Aspect ratio.

This enum is used when modifying and inspecting supported aspect ratios in PlayerSettings.

Variables

AspectOthersUndefined aspect ratios.
Aspect4by34:3 aspect ratio.
Aspect5by45:4 aspect ratio.
Aspect16by1016:10 aspect ratio.
Aspect16by916:9 aspect ratio.