Skip to main content

Adding Scene Segmentation

NSDK provides this unique feature through the new XRSemanticsSubsystem class. The ARSemanticSegmentationManager makes this subsystem's data available as a MonoBehaviour and manages the subsystem's lifecycle.

Unity Scene Integration

To run scene segmentation in your scene, add an ARSemanticSegmentationManager component. By default, the ARSemanticSegmentationManager is simple, with only one exposed parameter for framerate settings in its Inspector window.

ARSemanticSegmentationManager Inspector

More Information

While ARSemanticSegmentationManager itself is uncomplicated, there are features in other NSDK components that require one to be present and active in the scene. These include:

For a full walkthrough of how to add scene segmentation to your project, see How to Query Scene Segmentation and Highlight Semantic Channels.