I stumbled upon this while applying rotation from the camera onto an entity in RealityKit. I thought I have to do some matrix math to gain the euler angles from arView.session.currentFrame.camera.transform
matrix, but retrieving the rotation from arview.cameraTransform.rotation
did the trick (found here).
So: What is the difference of both matrices and when should be used which?