copyState method

dynamic copyState()

Implementation

copyState() {
  // var state;
  // if ( camera is OrthographicCamera ) {

  // 	state = JSON.stringify( { 'arcballState': {

  // 		'cameraFar': camera.far,
  // 		'cameraMatrix': camera.matrix,
  // 		'cameraNear': camera.near,
  // 		'cameraUp': camera.up,
  // 		'cameraZoom': camera.zoom,
  // 		'gizmoMatrix': _gizmos.matrix

  // 	} } );

  // } else if ( camera is PerspectiveCamera ) {

  // 	state = JSON.stringify( { 'arcballState': {
  // 		'cameraFar': camera.far,
  // 		'cameraFov': camera.fov,
  // 		'cameraMatrix': camera.matrix,
  // 		'cameraNear': camera.near,
  // 		'cameraUp': camera.up,
  // 		'cameraZoom': camera.zoom,
  // 		'gizmoMatrix': _gizmos.matrix

  // 	} } );

  // }

  // navigator.clipboard.writeText( state );
}