You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
OpenXR: Support alternative reference spaces from extensions
Co-authored-by: Fredia Huya-Kouadio <fhuyakou@gmail.com>
This commit is contained in:
@@ -753,6 +753,8 @@ XRInterface::PlayAreaMode OpenXRInterface::get_play_area_mode() const {
|
||||
return XRInterface::XR_PLAY_AREA_ROOMSCALE;
|
||||
} else if (reference_space == XR_REFERENCE_SPACE_TYPE_STAGE) {
|
||||
return XRInterface::XR_PLAY_AREA_STAGE;
|
||||
} else if (reference_space == XR_REFERENCE_SPACE_TYPE_MAX_ENUM) {
|
||||
return XRInterface::XR_PLAY_AREA_CUSTOM;
|
||||
}
|
||||
|
||||
return XRInterface::XR_PLAY_AREA_UNKNOWN;
|
||||
|
||||
Reference in New Issue
Block a user