TryGetSemanticChannel
Declaration
public bool TryGetSemanticChannel(SemanticsChannel channel, out XRTextureDescriptor semanticsChannelDescriptor, out Matrix4x4 samplerMatrix, Nullable<XRCameraParams> cameraParams = null)
Parameters
| Name | Type | Summary |
|---|---|---|
| channel | SemanticsChannel | The semantics channel to acquire. |
| semanticsChannelDescriptor | XRTextureDescriptor | The resulting semantic channel texture descriptor, if available. |
| samplerMatrix | Matrix4x4 | The matrix that transforms from normalized viewport coordinates to normalized texture coordinates. |
| cameraParams | Nullable<XRCameraParams> | Describes the viewport the texture is to be displayed on. |