Methods
View
setRotation
applies a rotation to the viewer the rotation is always relative to the initial model state example usage const rotation = 90; viewer2d setrotation(rotation); parameters rotation rotation to apply in degrees type required number yes