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
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 |