Methods
View

setRotation

Applies a rotation to the viewer.

The rotation is always relative to the initial model state.

Example



Usage

JS


Parameters

rotation

Rotation to apply in degrees.

Type

Required

Number

Yes