Camera.unproject() method

Unproject a screen space coordinate to 3d coord.

Signature:

unproject(x: number, y: number): number[];

Parameters

ParameterDescription
xThe x coordinate in pixel.
yThe y coordinate in pixel.

Returns:

number[]

  • The 3d coordinate