setFromXRController( controller ) {

		_matrix.identity().extractRotation( controller.matrixWorld );

		this.ray.origin.setFromMatrixPosition( controller.matrixWorld );
		this.ray.direction.set( 0, 0, -1 ).applyMatrix4( _matrix );

		return this;

	}
Uses the given WebXR controller to compute a new origin and direction for the internal ray.

@param {WebXRController} controller - The controller to copy the position and direction from.
@return {Raycaster} A reference to this raycaster.