GetChannelIndex
Declaration
public int GetChannelIndex(SceneSegmentationChannel channel)
Summary
Returns
The index of the specified semantic class, or -1 if the channel does not exist.
Parameters
| Name | Type | Summary |
|---|---|---|
| channel | SceneSegmentationChannel | The semantic channel. |
Get the channel index of a specified semantic class. This corresponds to a bit position in the packed
scene segmentation buffer, with index 0 being the most-significant bit.