From 6fe957de63b8ecbd51caf2e6c1bf7efc1d53221c Mon Sep 17 00:00:00 2001 From: Cheeseness Date: Tue, 28 May 2019 23:14:13 +1000 Subject: Add a depth parameter to Camera::project_position() --- doc/classes/Camera.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'doc/classes') diff --git a/doc/classes/Camera.xml b/doc/classes/Camera.xml index 0b7021b4a1..557d978b10 100644 --- a/doc/classes/Camera.xml +++ b/doc/classes/Camera.xml @@ -76,8 +76,10 @@ + + - Returns the 3D point in worldspace that maps to the given 2D coordinate in the [Viewport] rectangle. + Returns the 3D point in worldspace that maps to the given 2D coordinate in the [Viewport] rectangle on a plane that is the given distance into the scene away from the camera. -- cgit v1.2.3