1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-01 16:38:31 +00:00

OpenXR: Implement play_area_changed signal

This implements the missing logic for the 'play_area_changed' in OpenXRInterface.

It modifies the existing 'on_reference_space_change_pending' method by receiving the XrReferenceSpaceType enum from the event and selects the appropriate PlayAreaMode, it finally emits the 'play_area_changed' signal.
This commit is contained in:
mattia.zirpoli
2025-11-22 18:28:26 +01:00
parent 235a32ad11
commit 8af1a134b4
3 changed files with 27 additions and 3 deletions

View File

@@ -213,7 +213,7 @@ public:
void on_state_stopping();
void on_state_loss_pending();
void on_state_exiting();
void on_reference_space_change_pending();
void on_reference_space_change_pending(XrReferenceSpaceType p_type);
void on_refresh_rate_changes(float p_new_rate);
void tracker_profile_changed(RID p_tracker, RID p_interaction_profile);