org.rajawali3d.renderer / Renderer / unProject

unProject

open fun unProject(p: PointF!, distance: Float): Vector3!
open fun unProject(p: PointF!, distance: Float): Vector3! open fun unProject(x: Double, y: Double, z: Double): Vector3!

Unprojects screen position into world space; 0,0,0 is center of screen

Parameters

x - Double: double x value, cartesian coordinates relative to center of sceen.

y - Double: double y value, cartesian coordinates relative to center of sceen.

z - Double: double z value, cartesian coordinates relative to center of sceen.

open fun unProject(x: Double, y: Double, z: Double): Vector3!

Unprojects screen position into world space; 0,0,0 is center of screen

Parameters

x - Double: double x value, cartesian coordinates relative to center of sceen.

y - Double: double y value, cartesian coordinates relative to center of sceen.

z - Double: double z value, cartesian coordinates relative to center of sceen.