getRayFromCoordinate
Returns a Ray we shoot from the current camera, through pixel on canvas.
Parameters
Description
Type
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:
Last updated