QClipAnimatoris a component providing simple animation playback capabilities. 更多 …
An instance of
QClipAnimatorcan be aggregated by a QEntity to add the ability to play back animation clips and to apply the calculated animation values to properties of QObjects.The animation key frame data is provided via the clip property. This can be created programmatically with
QAnimationClipor loaded from file withQAnimationClipLoader.In order to apply the values played back from the channels of data in the animation clip, the clip animator needs to have a
QChannelMapperobject assigned to thechannelMapper特性。The properties for controlling the animator are provided by the
QAbstractClipAnimator基类。另请参阅
QAbstractClipAnimatorQAbstractAnimationClipQChannelMapperQBlendedClipAnimator
PySide2.Qt3DAnimation.Qt3DAnimation.
QClipAnimator
(
[
parent=None
]
)
¶
parent
–
QNode
PySide2.Qt3DAnimation.Qt3DAnimation.QClipAnimator.
clip
(
)
¶
QAbstractAnimationClip
另请参阅
PySide2.Qt3DAnimation.Qt3DAnimation.QClipAnimator.
clipChanged
(
clip
)
¶
clip
–
QAbstractAnimationClip