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.
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. |