Skip to main content
←API Reference ←NianticSpatial.NSDK.AR.XRSubsystems ←XRSceneSegmentationSubsystem ←Provider

TrySetChannelConfidenceThresholds


Declaration​

public virtual bool TrySetChannelConfidenceThresholds(Dictionary<SceneSegmentationChannel, float> channelConfidenceThresholds)

Parameters​

NameTypeSummary
channelConfidenceThresholdsDictionary<SceneSegmentationChannel, float>
A dictionary consisting of keys specifying the semantics channel that is needed and values
between 0 and 1, inclusive, that set the threshold above which the platform will include the specified
channel in the packed semantics buffer. The key must be a semantic channel present in the list
returned by TryGetChannelNames.