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

Script language

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

RenderTextureDescriptor.vrUsage

public VRTextureUsage vrUsage;

Description

If this RenderTexture is a VR eye texture used in stereoscopic rendering, this property decides what special rendering occurs, if any. Instead of setting this manually, use the value returned by GetDefaultVREyeTextureDesc or other VR functions returning a RenderTextureDescriptor.

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