Legacy Documentation: Version 2018.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

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

AspectRatio

enumeration

Description

Aspect ratio.

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

Properties

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

Did you find this page useful? Please give it a rating: