GetMirrorViewBlitDesc
Get a mirror view blit operation descriptor from the current display subsystem.
阅读时间1 分钟最后更新于 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.
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 |
|---|---|
| bool | Return 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.
The XRMirrorViewBlitMode XR display should perform.
Returns
Type | Description |
|---|---|
| bool | Return true if information is retrieved successfully, false otherwise. |