Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Excerpt

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

Iframe
src//jsfiddle.net/AerialSphere/6kLcyb8m/2/embedded/js,html,css,result/dark/
width90%
framebordershow
height360px