Get Y rotation angle of a camera

Hello! i need to represent in a 2D context the rotation around Y of a camera. Im using ofNode to make the rotations


then i used

camera.getHeadingDeg(); to find a number between 0 and 360. its possible?

how can i get the rotation Y angle of a camera?

which value is giving you back “camera.getHeadingDeg();” ?