OpenXRSpatialContextPersistenceConfig
实验性: This class may be changed or removed in future versions.
继承: OpenXRStructureBase < RefCounted < Object
Configuration header for spatial persistence.
描述
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.
方法
void |
add_persistence_context(persistence_context: RID) |
void |
remove_persistence_context(persistence_context: RID) |
方法说明
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.