Autodesk.Viewing.Extensions
RollCameraExtension
Provides UI controls to perform rotation of camera view.
The extension id is: Autodesk.BIM360.RollCamera
new RollCameraExtension()
Examples
viewer.loadExtension('Autodesk.BIM360.RollCamera')
Methods
load()
Load the roll camera extension.
unload()
Unload the roll camera extension.
onToolbarCreated(toolbar)
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