CameraResetButton
class CameraResetButton implements ControlBarItem
Show camera reset button, use with ControlBar
constructor
new CameraResetButton(view3D, controlBar, )
PARAMETER | TYPE | OPTIONAL | DEFAULT | DESCRIPTION |
---|---|---|---|---|
view3D | View3D | |||
controlBar | ControlBar | |||
Partial<CameraResetButtonOptions> | ✔️ | {} |
Methods
enable
Enable control item
disable
Disable control item