Returns the viewer rotation.
const rotation = viewer2d.getRotation();
Rotation in degrees.
Type
Number