Hi, when you work with 3d transformations, the internal engine data are always vectors and matrices...so, when you set an angle, always needs to be converted into a matrix information.
The same when you request angles, we need to decompose the matrix to return angles, and usually these angles are
euler angles.is a good idea try to avoid angles as much as possible when you work in 3d space.
the method that Dani proposes is also good way to retrieve y-axis angles.