ClipAnimator QML Type

ClipAnimator 是一个提供简单动画播放功能的组件。更多

Import Statement: import Qt3D.Animation 2.9
In C++: QClipAnimator
Inherits:

AbstractClipAnimator

Status: Deprecated

属性

详细说明

实体可以聚合 ClipAnimator 的实例,以增加播放动画片段的功能,并将计算出的动画值应用到 QObjects 的属性中。

动画关键帧数据通过剪辑属性提供。它可以通过 AnimationClip 以编程方式创建,也可以通过 AnimationClipLoader 从文件中加载。

为了应用从动画剪辑中的数据通道回放的值,剪辑动画器需要有一个分配给 channelMapper 属性的 ChannelMapper 对象。

控制动画播放器的属性由AbstractClipAnimator 基类提供。

另请参阅 AbstractClipAnimator,AbstractAnimationClip,ChannelMapperBlendedClipAnimator

属性文档

clip : var

该属性用于保存包含要播放的关键帧数据的动画剪辑。关键帧数据可以在 AnimationClip 或 AnimationClipLoader 中指定。


© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.