getCameraParams

Returns an object that contains the current camera parameters.

Signatures

  • Paramate.Viewport.getCameraParams()

Details

Returns an object of a type that can be used as input parameter for setCameraSee there for more information about the object content.

Example

 var viewPort = new Paramate.Viewport({ /.../ });

 // Output camera status
 console.log( viewPort.getCameraParams() );
 

Return value

An object containing the setting for the current camera position.

See also