aboutsummaryrefslogtreecommitdiff
path: root/scene/3d/arvr_nodes.h
diff options
context:
space:
mode:
authorBastiaanOlij2017-09-29 21:36:27 +1000
committerBastiaanOlij2017-10-06 20:35:55 +1100
commitce74efacbbad6edc7d84975f4480aa254f73b6cd (patch)
treeab4021340116ceb85a24a76f0f6134c9c81bf987 /scene/3d/arvr_nodes.h
parentba2c49531d23093cbc46bb390d58cf1e60bf79d0 (diff)
downloadgodot-ce74efacbbad6edc7d84975f4480aa254f73b6cd.tar.gz
godot-ce74efacbbad6edc7d84975f4480aa254f73b6cd.tar.zst
godot-ce74efacbbad6edc7d84975f4480aa254f73b6cd.zip
Made a few tweaks to the interface
Diffstat (limited to '')
-rw-r--r--scene/3d/arvr_nodes.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/scene/3d/arvr_nodes.h b/scene/3d/arvr_nodes.h
index 5269ec024..e0ccfab58 100644
--- a/scene/3d/arvr_nodes.h
+++ b/scene/3d/arvr_nodes.h
@@ -52,6 +52,11 @@ protected:
public:
String get_configuration_warning() const;
+ virtual Vector3 project_local_ray_normal(const Point2 &p_pos) const;
+ virtual Point2 unproject_position(const Vector3 &p_pos) const;
+ virtual Vector3 project_position(const Point2 &p_point) const;
+ virtual Vector<Plane> get_frustum() const;
+
ARVRCamera();
~ARVRCamera();
};
@@ -118,6 +123,8 @@ public:
bool get_is_active() const;
Vector3 get_size() const;
+ Plane get_plane() const;
+
String get_configuration_warning() const;
ARVRAnchor();