mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Add OpenXR 1.1 support
This commit is contained in:
parent
9dd6c4dbac
commit
c0bc43d1de
88 changed files with 638 additions and 251 deletions
|
|
@ -332,7 +332,7 @@ void OpenXRSpatialAnchorCapability::_bind_methods() {
|
|||
BIND_ENUM_CONSTANT(PERSISTENCE_SCOPE_LOCAL_ANCHORS);
|
||||
}
|
||||
|
||||
HashMap<String, bool *> OpenXRSpatialAnchorCapability::get_requested_extensions() {
|
||||
HashMap<String, bool *> OpenXRSpatialAnchorCapability::get_requested_extensions(XrVersion p_version) {
|
||||
HashMap<String, bool *> request_extensions;
|
||||
|
||||
if (GLOBAL_GET_CACHED(bool, "xr/openxr/extensions/spatial_entity/enabled") && GLOBAL_GET_CACHED(bool, "xr/openxr/extensions/spatial_entity/enable_spatial_anchors")) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue