ARSemanticSegmentationManager
↳ extends UnityEngine.XR.ARFoundation.SubsystemLifecycleManager
The ARSemanticSegmentationManager controls the XRSemanticsSubsystem and updates the semantics...
Declaration
public class ARSemanticSegmentationManager : SubsystemLifecycleManager<XRSemanticsSubsystem, XRSemanticsSubsystemDescriptor, Provider>Summary
The ARSemanticSegmentationManager controls the XRSemanticsSubsystem and updates the semantics textures on each Update loop. Textures and XRCpuImages are available for confidence maps of individual semantic segmentation channels and a bit array indicating which semantic channels have surpassed the chosen confidence threshold per pixel. For cases where a semantic segmentation texture is overlaid on the screen, utilities are provided to read semantic properties at a given point on the screen.
Properties
| Name | Type | Summary |
|---|---|---|
| readonly ChannelIndices | IReadOnlyDictionary<string, int> | - |
| readonly ChannelNames | IReadOnlyList<string> | - |
| IsMetadataAvailable | bool | - |
| TargetFrameRate | uint | - |
Methods
Events
| Name | Type | Summary |
|---|---|---|
| FrameReceived | Action<ARSemanticSegmentationFrameEventArgs> | - |
| MetadataInitialized | Action<ARSemanticSegmentationModelEventArgs> | - |