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
Remarks
This query allocates garbage.
Returns
An array of channel names present for the pixel.
Parameters
| Name | Type | Summary |
|---|---|---|
| viewportX | int | Horizontal coordinate in viewport space. |
| viewportY | int | Vertical coordinate in viewport space. |
| cameraParams | Nullable<XRCameraParams> | Params of the viewport to sample with. Defaults to current screen dimensions if null. |
Returns an array of channel names that are present for the specified pixel onscreen (for display purposes).