OpenXRSpatialContextPersistenceConfig (original) (raw)
Experimental: This class may be changed or removed in future versions.
Inherits: OpenXRStructureBase < RefCounted < Object
Configuration header for spatial persistence.
Description
Configuration header for spatial persistence. Pass this to OpenXRSpatialEntityExtension.create_spatial_context() as the next parameter to create a spatial context with spatial persistence capabilities.
Methods
| void | add_persistence_context(persistence_context: RID) |
|---|---|
| void | remove_persistence_context(persistence_context: RID) |
Method Descriptions
void add_persistence_context(persistence_context: RID) 🔗
Adds a persistence context to this configuration. You must add at least one persistence context to create a valid configuration. You can create a persistence context by calling OpenXRSpatialAnchorCapability.create_persistence_context().
void remove_persistence_context(persistence_context: RID) 🔗
Removes a persistence context.