LanguageEnglish
  • C#
  • JS

Script language

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

This version of Unity is unsupported.

ARBackgroundRenderer.mode

public XR.ARRenderMode mode;

Description

When set to ARRenderMode.StandardBackground (default) the camera is not overridden to display the background image. Setting this property to ARRenderMode.MaterialAsBackground will render the texture specified by ARBackgroundRenderer.backgroundMaterial and or ARBackgroundRenderer.backgroundTexture as the background.