Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetMirrorViewBlitDesc

Get a mirror view blit operation descriptor from the current display subsystem.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine.XR
  • Assembly: UnityEngine.XRModule

GetMirrorViewBlitDesc(RenderTexture, XRMirrorViewBlitDesc)

Get a mirror view blit operation descriptor from the current display subsystem.
Warning
Deprecated. GetMirrorViewBlitDesc(RenderTexture, out XRMirrorViewBlitDesc) is deprecated. Use GetMirrorViewBlitDesc(RenderTexture, out XRMirrorViewBlitDesc, int) instead.
public bool GetMirrorViewBlitDesc(RenderTexture mirrorRt, out XRDisplaySubsystem.XRMirrorViewBlitDesc outDesc)

Parameters

A render texture representing mirror view's render target.

Information that describes desired mirror view blit operation.

Returns

Type

Description

boolReturn true if information is retrieved successfully, false otherwise.

GetMirrorViewBlitDesc(RenderTexture, XRMirrorViewBlitDesc, int)

Get a mirror view blit operation descriptor from the current display subsystem.
public bool GetMirrorViewBlitDesc(RenderTexture mirrorRt, out XRDisplaySubsystem.XRMirrorViewBlitDesc outDesc, int mode)

Parameters

A render texture representing mirror view's render target.

Information that describes desired mirror view blit operation.

mode

The XRMirrorViewBlitMode XR display should perform.

Returns

Type

Description

boolReturn true if information is retrieved successfully, false otherwise.