기술 자료

Unity Engine

Unity Engine

GetMirrorViewBlitDesc

Get a mirror view blit operation descriptor from the current display subsystem.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

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

GetMirrorViewBlitDesc(RenderTexture, XRMirrorViewBlitDesc)

Get a mirror view blit operation descriptor from the current display subsystem.
경고
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.