Skip to main content
API Reference NianticSpatial.NSDK.AR.Semantics ARSemanticSegmentationManager

DoesChannelExistAt


Declaration

public bool DoesChannelExistAt(int viewportX, int viewportY, SemanticsChannel channel, Nullable<XRCameraParams> cameraParams = null)

Parameters

NameTypeSummary
viewportXint
Horizontal coordinate in viewport space.
viewportYint
Vertical coordinate in viewport space.
channelSemanticsChannel
The semantic channel to look for.
cameraParamsNullable<XRCameraParams>
Params of the viewport to sample with. Defaults to current screen dimensions if null.

Overload

public bool DoesChannelExistAt(int viewportX, int viewportY, int channelIndex, Nullable<XRCameraParams> cameraParams = null)

Parameters

NameTypeSummary
viewportXint
Horizontal coordinate in viewport space.
viewportYint
Vertical coordinate in viewport space.
channelSemanticsChannel
The semantic channel to look for.
cameraParamsNullable<XRCameraParams>
Params of the viewport to sample with. Defaults to current screen dimensions if null.