I’m having trouble wrapping my head around what this does. Could some kind person try to ELI5? What is the resulting rotator? Is it in degrees?
It makes a rotational matrix using the provided X/Z axis (and computes the Y by crossing the X/Z). The rotator is the rotation for each axis (yaw/pitch/roll in degrees).
It’s just another way to calculate a rotation matrix using whatever vectors you have available to you.