OpenXRSpatialContextPersistenceConfig.xml 1.2 KB

123456789101112131415161718192021222324252627
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="OpenXRSpatialContextPersistenceConfig" inherits="OpenXRStructureBase" experimental="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../doc/class.xsd">
  3. <brief_description>
  4. Configuration header for spatial persistence.
  5. </brief_description>
  6. <description>
  7. Configuration header for spatial persistence. Pass this to [method OpenXRSpatialEntityExtension.create_spatial_context] as the next parameter to create a spatial context with spatial persistence capabilities.
  8. </description>
  9. <tutorials>
  10. </tutorials>
  11. <methods>
  12. <method name="add_persistence_context">
  13. <return type="void" />
  14. <param index="0" name="persistence_context" type="RID" />
  15. <description>
  16. 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 [method OpenXRSpatialAnchorCapability.create_persistence_context].
  17. </description>
  18. </method>
  19. <method name="remove_persistence_context">
  20. <return type="void" />
  21. <param index="0" name="persistence_context" type="RID" />
  22. <description>
  23. Removes a persistence context.
  24. </description>
  25. </method>
  26. </methods>
  27. </class>