QAnimationCallback#

Represents an animation callback object. More

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.

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

value – object

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

See also

setCallback()