QAnimationCallback#

Represents an animation callback object. More

Inheritance diagram of PySide6.Qt3DAnimation.Qt3DAnimation.QAnimationCallback

Synopsis#

Virtual functions#

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

Detailed Description#

class PySide6.Qt3DAnimation.Qt3DAnimation.QAnimationCallback#
PySide6.Qt3DAnimation.Qt3DAnimation.QAnimationCallback.Flag#

Flags to indicate how the valueChanged() function is called.

Constant

Description

Qt3DAnimation.QAnimationCallback.OnOwningThread

Callback function is called on the owning (GUI or main) thread.

Qt3DAnimation.QAnimationCallback.OnThreadPool

Callback function is called on the thread pool’s worker thread.

abstract PySide6.Qt3DAnimation.Qt3DAnimation.QAnimationCallback.valueChanged(value)#
Parameters:

value – object

Callback function that is triggered for changes in the animated value.

See also

setCallback()