addRay

Adds a new ray on user click.

Signatures

  •   GUIControls.TransformRay.addRay(ray)

Details

The function is a public convenience function that can be called to add a new ray on a common mousedown event.

Parameters

ray

Camera ray that may be generated from the mouse click position.

doUpdate

If true, the update will be initiated.