Class XRGraphics | Core RP Library | 6.9.2
docs.unity3d.com
    Show / Hide Table of Contents

    Class XRGraphics

    Inheritance
    Object
    XRGraphics
    Namespace: UnityEngine.Rendering
    Syntax
    [Serializable]
    public class XRGraphics

    Properties

    enabled

    Declaration
    public static bool enabled { get; }
    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; }
    Property Value
    Type Description
    Single

    eyeTextureWidth

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

    isDeviceActive

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

    loadedDeviceName

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

    renderViewportScale

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

    stereoRenderingMode

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

    supportedDevices

    Declaration
    public static string[] supportedDevices { get; }
    Property Value
    Type Description
    String[]
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023