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
Експериментальний: This class may be changed or removed in future versions.
Успадковує: OpenXRStructureBase < RefCounted < Object
Заголовок конфігурації для просторової персистенції.
Опис
Заголовок конфігурації для просторової персистенції. Передайте його до OpenXRSpatialEntityExtension.create_spatial_context() як наступний параметр для створення просторового контексту з можливостями просторової персистенції.
Методи
void |
add_persistence_context(persistence_context: RID) |
get_persistence_contexts() const |
|
void |
remove_persistence_context(persistence_context: RID) |
Описи методів
void add_persistence_context(persistence_context: RID) 🔗
Додає контекст персистенції до цієї конфігурації. Ви повинні додати принаймні один контекст персистенції, щоб створити коректну конфігурацію. Ви можете створити контекст персистенції, викликавши OpenXRSpatialAnchorCapability.create_persistence_context().
Array get_persistence_contexts() const 🔗
Отримує контекст(и) збереження (у вигляді RID) отримані методом add_persistence_context().
void remove_persistence_context(persistence_context: RID) 🔗
Вилучає контекст персистенції.