Skip to main content
API Reference NianticSpatial.NSDK.AR.SceneSegmentation ARSceneSegmentationManager

GetChannelNamesAt

Returns an array of channel names that are present for the specified pixel onscreen (for display purposes).

Declaration

public List<string> GetChannelNamesAt(int viewportX, int viewportY, Nullable<XRCameraParams> cameraParams = null)

Summary

Returns an array of channel names that are present for the specified pixel onscreen (for display purposes).

Remarks

This query allocates garbage.

Returns

An array of channel names present for the pixel.

Parameters

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