setLookAt

Sets the pan and tilt.

lookAt has been deprecated and replaced with setLookAt. This is not a breaking change.

Parameters:

  • pan (number): The pan (ie, left or right shift) of where to face in the current sphere

  • tilt (number): The tilt (ie, up or down shift) of where to face in the current sphere

Returns: Nothing

Code Sample