Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Current »

Gets the range for the field of view for the active sphere, passes it to the optional callback function (if provided), and returns it. See sendData for how to set these values.

Parameter:

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

    • cameraFovMin (number): The minimum valid field of view for the current sphere

    • cameraFovMax (number): The maximum valid field of view for the current sphere

Returns: A promise that resolves to the same object that is passed to the optional callback.

Code Sample

  • No labels