Skip to main content
API Reference NianticSpatial.NSDK.AR.XRSubsystems XRSemanticsSubsystem Provider

TryAcquireSemanticChannelCpuImage


Declaration

public virtual bool TryAcquireSemanticChannelCpuImage(string channelName, out XRCpuImage cpuImage, out Matrix4x4 samplerMatrix, Nullable<XRCameraParams> cameraParams = null)

Parameters

NameTypeSummary
channelNamestring
The string description of the semantics channel to acquire.
cpuImageXRCpuImage
The resulting XRCpuImage. The XRCpuImage must be disposed by the caller.
samplerMatrixMatrix4x4
The matrix that transforms from normalized viewport coordinates to normalized image coordinates.
cameraParamsNullable<XRCameraParams>
Describes the viewport the image is to be displayed on.