本页内容

Qt3DAnimation::QAnimationClip Class

class Qt3DAnimation::QAnimationClip

指定关键帧动画数据。更多...

标题: #include <qanimationclip.h>
CMake: find_package(Qt6 REQUIRED COMPONENTS 3danimation)
target_link_libraries(mytarget PRIVATE Qt6::3danimation)
qmake: QT += 3danimation
继承自: Qt3DAnimation::QAbstractAnimationClip
状态: 技术预览

该类处于技术预览阶段,内容可能会有变动。

属性

  • clipData : Qt3DAnimation::QAnimationClipData

公共函数

Qt3DAnimation::QAnimationClipData clipData() const

公共槽位

void setClipData(const Qt3DAnimation::QAnimationClipData &clipData)

信号

void clipDataChanged(Qt3DAnimation::QAnimationClipData clipData)

详细说明

属性文档

clipData : Qt3DAnimation::QAnimationClipData

存储描述动画片段的数据。

访问函数:

Qt3DAnimation::QAnimationClipData clipData() const
void setClipData(const Qt3DAnimation::QAnimationClipData &clipData)

通知器信号:

void clipDataChanged(Qt3DAnimation::QAnimationClipData clipData)

成员函数文档

Qt3DAnimation::QAnimationClipData QAnimationClip::clipData() const

返回描述动画片段的数据。

注意: 这是 clipData 属性的获取 函数。

另请参阅 ` setClipData()`。

[slot] void QAnimationClip::setClipData(const Qt3DAnimation::QAnimationClipData &clipData)

根据提供的clipData 设置剪辑的参数。

注意: 属性clipData 的设置 函数。

另请参阅 clipData()。

© 2026 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.