Autodesk.Viewing.Extensions
RollCameraExtension
Provides UI controls to perform rotation of camera view.
The extension id is: Autodesk.BIM360.RollCamera
Examples
viewer.loadExtension('Autodesk.BIM360.RollCamera')
Methods
Load the roll camera extension.
Unload the roll camera extension.
Invoked by the viewer when the toolbar UI is available.
Parameters
| toolbar* | toolbar instance. |
* Required
roll(clockwise)
Roll the camera 90 degrees.
Parameters
| clockwise* boolean | True to rotate clockwise, false to rotate counter clockwise. |
* Required