Skip to main content
API Reference NianticSpatial.NSDK.AR.XRSubsystems

XRSemanticsSubsystem

↳ extends UnityEngine.SubsystemsImplementation.SubsystemWithProvider
Defines an interface for interacting with semantic segmentation functionality.

Declaration

public class XRSemanticsSubsystem : SubsystemWithProvider<XRSemanticsSubsystem, XRSemanticsSubsystemDescriptor, Provider>, ISubsystemWithModelMetadata

Constructors

public XRSemanticsSubsystem()

Properties

NameTypeSummary
readonly IsMetadataAvailablebool
-
readonly LatestFrameIdNullable<uint>
-
SuppressionMaskChannelsHashSet<string>
-
TargetFrameRateuint
-

Methods

NameTypeSummary
static Registerbool
-
TryAcquirePackedSemanticChannelsCpuImagebool
-
TryAcquireSemanticChannelCpuImagebool
-
TryAcquireSuppressionMaskCpuImagebool
-
TryGetChannelNamesbool
-
TryGetPackedSemanticChannelsbool
-
TryGetSemanticChannelbool
-
TryGetSuppressionMaskTexturebool
-
TryResetChannelConfidenceThresholdsbool
-
TrySetChannelConfidenceThresholdsbool
-

Relationships

derived: NsdkSemanticsSubsystem
implements: ISubsystemWithModelMetadata