Version: 2022.2
LanguageEnglish
  • C#

XRMirrorViewBlitMode

struct in UnityEngine.XR

/

Implemented in:UnityEngine.XRModule

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Engine reserved blit modes. Blit mode capabilities should be queried from XRDisplaySubsystemDescriptor.GetAvailableMirrorBlitModeCount and XRDisplaySubsystemDescriptor.GetMirrorBlitModeByIndex.

Static Properties

DefaultMirror view pass should blit platform default image to the mirror target.
DistortMirror view pass should blit after distortion pass image to the mirror target.
LeftEyeMirror view pass should blit left eye image to the mirror target.
NoneMirror view pass should not be performed.
RightEyeMirror view pass should blit right eye image to the mirror target.
SideBySideMirror view pass should blit left eye image and right eye image in a side-by-side fashion to the mirror target.
SideBySideOcclusionMeshMirror view pass should blit similar to side-by-side mode, but also showing not rendered pixels saved by the occlusion mesh.