1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-24 15:26:15 +00:00

Implementing OpenXR driver

This commit is contained in:
Bastiaan Olij
2021-12-14 12:44:12 +11:00
committed by Rémi Verschelde
parent 65bae5a341
commit a78a9fee71
53 changed files with 6359 additions and 168 deletions

View File

@@ -348,9 +348,10 @@ PackedStringArray XRServer::get_suggested_pose_names(const StringName &p_tracker
}
void XRServer::_process() {
/* called from renderer_viewport.draw_viewports right before we start drawing our viewports */
// called from our main game loop before we handle physics and game logic
// note that we can have multiple interfaces active if we have interfaces that purely handle tracking
/* process all active interfaces */
// process all active interfaces
for (int i = 0; i < interfaces.size(); i++) {
if (!interfaces[i].is_valid()) {
// ignore, not a valid reference