Convert (X,Y,Z) to Yaw, Pitch, Roll

I’ve realized that the rotations in the ‘instanced static mesh’ aren’t euler but Tait–Bryan angles which go from -90 to 90. How would i convert euler angles to Tait-Bryan angles so that I can ‘author’ the instances a little more intuitive.