You've already forked godot
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:
committed by
Rémi Verschelde
parent
65bae5a341
commit
a78a9fee71
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user