Skip to content

Commit

Permalink
Update scene_manager.rst (#195)
Browse files Browse the repository at this point in the history
fixes typos referring to "open_xr_" - instead of "openxr_" signals in example snippet; now if no spacial env is found on the headset, one will be requested by this code.
  • Loading branch information
The-Cyber-Captain authored Jul 22, 2024
1 parent 9c63c64 commit 112b8a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/manual/meta/scene_manager.rst
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ The complete code for requesting a scene capture could look like this:
@onready var scene_manager: OpenXRFbSceneManager = $OpenXRFbSceneManager
func _ready():
scene_manager.open_xr_fb_scene_data_missing.connect(_scene_data_missing)
scene_manager.open_xr_fb_scene_capture_completed.connect(_scene_capture_completed)
scene_manager.openxr_fb_scene_data_missing.connect(_scene_data_missing)
scene_manager.openxr_fb_scene_capture_completed.connect(_scene_capture_completed)
func _scene_data_missing() -> void:
scene_manager.request_scene_capture()
Expand Down

0 comments on commit 112b8a2

Please sign in to comment.