docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct XRLayout.QuadViewState

    Contains cached state for Quad View XR rendering. Quad View is an XR rendering mode where peripheral (outer) and foveal (inner) views are rendered separately.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: UnityEngine.Experimental.Rendering
    Assembly: Unity.RenderPipelines.Core.Runtime.dll
    Syntax
    public struct XRLayout.QuadViewState

    Fields

    cachedPeripheralVignetteCenter

    Cached vignette center from the peripheral (outer) view pass. Used by the inner view pass to ensure vignette effect is consistent across both views.

    Declaration
    public Vector4 cachedPeripheralVignetteCenter
    Field Value
    Type Description
    Vector4

    peripheryInsetFeather

    Per-axis inward safety margin from the inset edges, as a fraction of the periphery viewport. Shrinks the occluder viewport so the device compositor's inset blend band is never rejected, preventing a black border at the inset/periphery boundary.

    Declaration
    public Vector2 peripheryInsetFeather
    Field Value
    Type Description
    Vector2

    peripheryInsetViewport

    The inner view's rect within the periphery frustum, as a bottom-left-origin fraction of the periphery viewport (x=left, y=bottom, z=width, w=height). Used by XRQuadViewPrepass to viewport-scope the inset depth occluder during the periphery pass and reset every frame.

    Declaration
    public Vector4 peripheryInsetViewport
    Field Value
    Type Description
    Vector4

    Extension Methods

    AnalyticsUtils.ToNestedColumnWithDefault<T>(T, T, bool)
    AnalyticsUtils.ToNestedColumn<T>(T, bool)
    AnalyticsUtils.ToNestedColumn<T>(T, T)
    In This Article
    Back to top
    Copyright © 2026 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)