QAnimationCallback¶

Represents an animation callback object. More…

Inheritance diagram of PySide2.Qt3DAnimation.Qt3DAnimation.QAnimationCallback

Detailed Description¶

class PySide2.Qt3DAnimation.Qt3DAnimation.QAnimationCallback¶
PySide2.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.

PySide2.Qt3DAnimation.Qt3DAnimation.QAnimationCallback.valueChanged(value)¶
Parameters:

value – object

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

See also

setCallback()