diff options
author | BastiaanOlij <mux213@gmail.com> | 2017-04-23 22:10:41 +1000 |
---|---|---|
committer | BastiaanOlij <mux213@gmail.com> | 2017-07-28 10:39:15 +1000 |
commit | d2ba2d08733647dc345db123469988966c8b31b0 (patch) | |
tree | 878817443d5929948e1b05e1d1eb39fe2091cd40 /servers/visual/visual_server_scene.h | |
parent | 411f09a512d5847fc9c6270439308d1e3093f211 (diff) |
Adding base classes and structures for ARVR support
Added ArVrScriptInterface
Added ARVRCamera, ARVRController and ARVROrigin helper objects
Diffstat (limited to 'servers/visual/visual_server_scene.h')
-rw-r--r-- | servers/visual/visual_server_scene.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/servers/visual/visual_server_scene.h b/servers/visual/visual_server_scene.h index 168dfddfd4..17b95946b3 100644 --- a/servers/visual/visual_server_scene.h +++ b/servers/visual/visual_server_scene.h @@ -38,6 +38,7 @@ #include "os/semaphore.h" #include "os/thread.h" #include "self_list.h" +#include "servers/arvr/arvr_interface.h" class VisualServerScene { public: @@ -521,6 +522,7 @@ public: void render_empty_scene(RID p_scenario, RID p_shadow_atlas); void render_camera(RID p_camera, RID p_scenario, Size2 p_viewport_size, RID p_shadow_atlas); + void render_camera(Ref<ARVRInterface> &p_interface, ARVRInterface::Eyes p_eye, RID p_camera, RID p_scenario, Size2 p_viewport_size, RID p_shadow_atlas); void update_dirty_instances(); //probes |