PlayButton
class PlayButton implements ControlBarItem
Show animation play/ pause button, use with ControlBar
constructor
new PlayButton(view3D, controlBar, )
PARAMETER | TYPE | OPTIONAL | DEFAULT | DESCRIPTION |
---|---|---|---|---|
view3D | View3D | |||
controlBar | ControlBar | |||
Partial<PlayButtonOptions> | ✔️ | {} |
Methods
enable
Enable control item
disable
Disable control item