Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
OpenXRSpatialContextPersistenceConfig๏
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.