getCameraRay

Deselect all parts of the control.

Signatures

  •   GUIControls.TransformRay.getCameraRay( e )

Parameters

e

Mouse event or Touch event.

Return value

3d array that represents the camera ray:

[
   [<number>, <number>, <number>],   // Coordinates of origin point
   [<number>, <number>, <number>]    // Direction vector
]