ClipAnimator is a component providing simple animation playback capabilities. 更多...
import 语句: | import Qt3D.Animation 2.9 |
Since: | Qt 5.9 |
实例化: | QClipAnimator |
实例化的 ClipAnimator can be aggregated by an Entity 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 AnimationClip or loaded from file with AnimationClipLoader.
In order to apply the values played back from the channels of data in the animation clip, the clip animator needs to have a ChannelMapper object assigned to the channelMapper property.
The properties for controlling the animator are provided by the AbstractClipAnimator 基类。
另请参阅 AbstractClipAnimator , AbstractAnimationClip , ChannelMapper ,和 BlendedClipAnimator .
clip : var |
This property holds the animation clip which contains the key frame data to be played back. The key frame data can be specified in either an AnimationClip or AnimationClipLoader.