0.2.0-dev Download ZIP
33 lines ·1.5 KB Raw
| 1 | <?xml version="1.0" encoding="UTF-8" ?> |
| 2 | <class name="OpenXRSpatialContextPersistenceConfig" inherits="OpenXRStructureBase" api_type="core" 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="get_persistence_contexts" qualifiers="const"> |
| 20 | <return type="Array" /> |
| 21 | <description> |
| 22 | Gets the persistence context(s) (as [RID]s) received by [method add_persistence_context]. |
| 23 | </description> |
| 24 | </method> |
| 25 | <method name="remove_persistence_context"> |
| 26 | <return type="void" /> |
| 27 | <param index="0" name="persistence_context" type="RID" /> |
| 28 | <description> |
| 29 | Removes a persistence context. |
| 30 | </description> |
| 31 | </method> |
| 32 | </methods> |
| 33 | </class> |