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.

PlayerSettings.stereoscopic3D

static var stereoscopic3D: bool;
static bool stereoscopic3D;
static stereoscopic3D as bool

Description

Should player render in stereoscopic 3d on supported hardware?

This means player will attempt to use Direct3D 11.1 stereoscopic rendering feature and split the main camera into two virtual eyes.