getRayFromCoordinate
Last updated
Last updated
Returns a we shoot from the current camera, through pixel on canvas.
x
x
coordinate in canvas, where 0
is left, and 1
is right.
number
y
y
coordinate in canvas, where 0
is top and 1
is bottom.
number
Usage:
Return value: