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

DoesChannelExistAt


Declaration

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

Parameters

NameTypeSummary
viewportXint
Horizontal coordinate in viewport space.
viewportYint
Vertical coordinate in viewport space.
channelNamestring
Name of the semantic class 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.
channelNamestring
Name of the semantic class to look for.
cameraParamsNullable<XRCameraParams>
Params of the viewport to sample with. Defaults to current screen dimensions if null.