StopButton#
- class ansys.tools.visualization_interface.backends.pyvista.widgets.stop_button.StopButton(plotter: pyvista.Plotter, animation, dark_mode: bool = False)#
Bases:
ansys.tools.visualization_interface.backends.pyvista.widgets.button.ButtonProvides stop control for animations.
This button stops the animation and resets to the first frame.
- Parameters:
- plotter
Plotter Plotter to draw the button on.
- animation
Animation Animation instance to control.
- dark_modebool,
optional Whether to activate the dark mode or not.
- plotter
Overview#
Stop animation and reset to first frame. |
Import detail#
from ansys.tools.visualization_interface.backends.pyvista.widgets.stop_button import StopButton