XrSpatialAnchorModel QML Type
Provides a model for managing spatial anchors. More...
Import Statement: | import QtQuick3D.Xr |
Since: | Qt 6.8 |
Inherits: | |
Status: | Technical Preview |
Properties
- filterMode : enumeration
- labels : enumeration
- uuids : list
Signals
Detailed Description
This type provides a way to manage spatial anchors, which are points in the physical world that can be tracked and associated with virtual content.
You can use it like so:
XrSpatialAnchorModel { id: anchorModel filterMode: XrSpatialAnchorModel.Labels labels: XrSpatialAnchorModel.Ceiling | XrSpatialAnchorModel.Floor // ... other properties and methods ...
}
Property Documentation
filterMode : enumeration |
Specifies the filter mode for spatial anchors.
Holds the filter mode. The filter mode can be one of the following:
Constant | Description |
---|---|
All | Show all spatial anchors. |
Label | Show spatial anchors based on semantic labels. |
UUID | Show spatial anchors based on UUIDs. |
labels : enumeration |
Holds the semantic labels used for filtering spatial anchors.
The semantic labels are represented as a combination of flags:
Constant | Value |
---|---|
Ceiling | |
DoorFrame | |
Floor | |
WallArt | |
WallFace | |
WindowFrame | |
Couch | |
Table | |
Bed | |
Lamp | |
Plant | |
Screen | |
Storage | |
Other |
uuids : list |
Holds the list of UUIDs for filtering spatial anchors.
Signal Documentation
filterModeChanged() |
Emitted when the filter mode changes.
Note: The corresponding handler is onFilterModeChanged
.
labelsChanged() |
Emitted when the semantic labels changes.
Note: The corresponding handler is onLabelsChanged
.
uuidsChanged() |
Emitted when the list of UUIDs changes.
Note: The corresponding handler is onUuidsChanged
.