TryAcquireSuppressionMaskCpuImage
Declaration
public bool TryAcquireSuppressionMaskCpuImage(out XRCpuImage cpuImage, out Matrix4x4 samplerMatrix, Nullable<XRCameraParams> cameraParams = null)
Parameters
| Name | Type | Summary |
|---|---|---|
| cpuImage | XRCpuImage | |
| samplerMatrix | Matrix4x4 | A matrix that converts from viewport to image coordinates according to the latest pose. |
| cameraParams | Nullable<XRCameraParams> | Params of the viewport to sample with. Defaults to current screen dimensions if null. |
true, an acquired XRCpuImage. The CPU imagemust be disposed by the caller.