copyState method
dynamic
copyState()
Implementation
copyState() {
// var state;
// if ( this.camera is OrthographicCamera ) {
// state = JSON.stringify( { 'arcballState': {
// 'cameraFar': this.camera.far,
// 'cameraMatrix': this.camera.matrix,
// 'cameraNear': this.camera.near,
// 'cameraUp': this.camera.up,
// 'cameraZoom': this.camera.zoom,
// 'gizmoMatrix': this._gizmos.matrix
// } } );
// } else if ( this.camera is PerspectiveCamera ) {
// state = JSON.stringify( { 'arcballState': {
// 'cameraFar': this.camera.far,
// 'cameraFov': this.camera.fov,
// 'cameraMatrix': this.camera.matrix,
// 'cameraNear': this.camera.near,
// 'cameraUp': this.camera.up,
// 'cameraZoom': this.camera.zoom,
// 'gizmoMatrix': this._gizmos.matrix
// } } );
// }
// navigator.clipboard.writeText( state );
}