Some questions about rotation

this.euler=new THREE.Euler(0, 0, 0, ‘YXZ’)
this.euler.setFromQuaternion(this.g.camera.quaternion)
what does “setfromquaternion” mean?

It’s converting a quaternion rotation to euler rotation.