Class XRGraphicsConfig | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class XRGraphicsConfig

    Inheritance
    System.Object
    XRGraphicsConfig
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: UnityEngine.Experimental.Rendering
    Syntax
    public class XRGraphicsConfig

    Fields

    gameViewRenderMode

    Declaration
    public GameViewRenderMode gameViewRenderMode
    Field Value
    Type Description
    GameViewRenderMode

    occlusionMaskScale

    Declaration
    public float occlusionMaskScale
    Field Value
    Type Description
    System.Single

    renderScale

    Declaration
    public float renderScale
    Field Value
    Type Description
    System.Single

    s_DefaultXRConfig

    Declaration
    public static readonly XRGraphicsConfig s_DefaultXRConfig
    Field Value
    Type Description
    XRGraphicsConfig

    showDeviceView

    Declaration
    public bool showDeviceView
    Field Value
    Type Description
    System.Boolean

    useOcclusionMesh

    Declaration
    public bool useOcclusionMesh
    Field Value
    Type Description
    System.Boolean

    viewportScale

    Declaration
    public float viewportScale
    Field Value
    Type Description
    System.Single

    Properties

    enabled

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

    eyeTextureDesc

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

    eyeTextureHeight

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

    eyeTextureWidth

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

    Methods

    GetActualXRSettings()

    Declaration
    public static XRGraphicsConfig GetActualXRSettings()
    Returns
    Type Description
    XRGraphicsConfig

    SetConfig()

    Declaration
    public void SetConfig()

    SetViewportScale(Single)

    Declaration
    public void SetViewportScale(float viewportScale)
    Parameters
    Type Name Description
    System.Single viewportScale
    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