Show / Hide Table of Contents

Class XRSettings

Inheritance
Object
XRSettings
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: UnityEngine.XR
Assembly: UnityEngine.dll
Syntax
public static class XRSettings

Properties

enabled

Declaration
public static bool enabled { get; set; }
Property Value
Type Description
Boolean

eyeTextureDesc

Declaration
public static RenderTextureDescriptor eyeTextureDesc { get; }
Property Value
Type Description
RenderTextureDescriptor

eyeTextureHeight

Declaration
public static int eyeTextureHeight { get; }
Property Value
Type Description
Int32

eyeTextureResolutionScale

Declaration
public static float eyeTextureResolutionScale { get; set; }
Property Value
Type Description
Single

eyeTextureWidth

Declaration
public static int eyeTextureWidth { get; }
Property Value
Type Description
Int32

gameViewRenderMode

Declaration
public static GameViewRenderMode gameViewRenderMode { get; set; }
Property Value
Type Description
GameViewRenderMode

isDeviceActive

Declaration
public static bool isDeviceActive { get; }
Property Value
Type Description
Boolean

loadedDeviceName

Declaration
public static string loadedDeviceName { get; }
Property Value
Type Description
String

occlusionMaskScale

Declaration
public static float occlusionMaskScale { get; set; }
Property Value
Type Description
Single

renderScale

Declaration
[Obsolete("renderScale is deprecated, use XRSettings.eyeTextureResolutionScale instead (UnityUpgradable) -> eyeTextureResolutionScale", false)]
public static float renderScale { get; set; }
Property Value
Type Description
Single
| Improve this Doc View Source

renderViewportScale

Declaration
public static float renderViewportScale { get; set; }
Property Value
Type Description
Single

showDeviceView

Declaration
public static bool showDeviceView { get; set; }
Property Value
Type Description
Boolean

stereoRenderingMode

Declaration
public static XRSettings.StereoRenderingMode stereoRenderingMode { get; }
Property Value
Type Description
XRSettings.StereoRenderingMode

supportedDevices

Declaration
public static string[] supportedDevices { get; }
Property Value
Type Description
String[]

useOcclusionMesh

Declaration
public static bool useOcclusionMesh { get; set; }
Property Value
Type Description
Boolean

Methods

| Improve this Doc View Source

LoadDeviceByName(String)

Declaration
public static void LoadDeviceByName(string deviceName)
Parameters
Type Name Description
String deviceName

LoadDeviceByName(String[])

Declaration
public static void LoadDeviceByName(string[] prioritizedDeviceNameList)
Parameters
Type Name Description
String[] prioritizedDeviceNameList
  • Improve this Doc
  • View Source
Back to top Generated by DocFX