TryAcquireSemanticChannelCpuImage
Declaration
public virtual bool TryAcquireSemanticChannelCpuImage(string channelName, out XRCpuImage cpuImage, out Matrix4x4 samplerMatrix, Nullable<XRCameraParams> cameraParams = null)
Parameters
| Name | Type | Summary |
|---|---|---|
| channelName | string | The string description of the semantics channel to acquire. |
| cpuImage | XRCpuImage | The resulting XRCpuImage. The XRCpuImage must be disposed by the caller. |
| samplerMatrix | Matrix4x4 | The matrix that transforms from normalized viewport coordinates to normalized image coordinates. |
| cameraParams | Nullable<XRCameraParams> | Describes the viewport the image is to be displayed on. |