Class XRSettings
Assembly: UnityEngine.dll
Syntax
public static class XRSettings
Properties
enabled
Declaration
public static bool enabled { get; set; }
Property Value
eyeTextureDesc
Declaration
public static RenderTextureDescriptor eyeTextureDesc { get; }
Property Value
eyeTextureHeight
Declaration
public static int eyeTextureHeight { get; }
Property Value
eyeTextureResolutionScale
Declaration
public static float eyeTextureResolutionScale { get; set; }
Property Value
eyeTextureWidth
Declaration
public static int eyeTextureWidth { get; }
Property Value
gameViewRenderMode
Declaration
public static GameViewRenderMode gameViewRenderMode { get; set; }
Property Value
isDeviceActive
Declaration
public static bool isDeviceActive { get; }
Property Value
loadedDeviceName
Declaration
public static string loadedDeviceName { get; }
Property Value
occlusionMaskScale
Declaration
public static float occlusionMaskScale { get; set; }
Property Value
renderScale
Declaration
[Obsolete("renderScale is deprecated, use XRSettings.eyeTextureResolutionScale instead (UnityUpgradable) -> eyeTextureResolutionScale", false)]
public static float renderScale { get; set; }
Property Value
|
Improve this Doc
View Source
renderViewportScale
Declaration
public static float renderViewportScale { get; set; }
Property Value
showDeviceView
Declaration
public static bool showDeviceView { get; set; }
Property Value
stereoRenderingMode
Declaration
public static XRSettings.StereoRenderingMode stereoRenderingMode { get; }
Property Value
supportedDevices
Declaration
public static string[] supportedDevices { get; }
Property Value
useOcclusionMesh
Declaration
public static bool useOcclusionMesh { get; set; }
Property Value
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 |
|