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

Script language

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

VRSettings.renderScale

public static float renderScale;

Description

Controls the texel:pixel ratio before lens correction, trading performance for sharpness.

Eye textures are re-allocated whenever this value changes which is an expensive operation.