Versions Compared

Key

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

Gets the current zoom level for the active sphere, passes it to the optional callback function (if provided), and returns it.

See sendData for how to set this value.

Parameters:

  • callback (function): (OPTIONAL) A callback function to execute. It will be passed an object with the following attribute automatically:

    • cameraZoom (number): A number representing the current zoom level

...