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



Updated 12 Sep 2024
Did this page help you?