Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


XRDisplaySubsystem.XRRenderParameter

A single viewpoint that must be rendered by the render pipeline. Contains a target viewport and texture array slice within a corresponding renderTarget.
Read time 1 minuteLast updated 12 days ago

Definition

  • Type: Struct
  • Namespace: UnityEngine.XR
  • Assembly: UnityEngine.XRModule
public struct XRDisplaySubsystem.XRRenderParameter

Fields

Value

Description

isPreviousViewValidDetermines whether _previousView is valid for use in a frame.
occlusionMeshRepresents the area in screen-space that is not visible on the XR Display.
previousViewPrevious frame view matrix for use in motion vector calculation. Use _isPreviousViewValid to determine if previous view is valid for use. When late latching is enabled, previous view is also adjusted for late latching.
projectionThe projection matrix that the render pipeline should use to render to the renderTarget.
textureArraySliceThe slice of the output texture array that the render pipeline should render to.
viewWorld transform that the render pipeline should use to render to the renderTarget.
viewportSelects the viewport of the output texture renderTarget.
visibleMeshRepresents the area in screen-space that is visible on the XR Display.