Qt3DAnimation::QAbstractClipBlendNode Class
class Qt3DAnimation::QAbstractClipBlendNodeQAbstractClipBlendNode 是用于构建动画混合树类型的基类。更多
Header: | #include <QAbstractClipBlendNode> |
CMake.QAstractClipBlendNode | find_package(Qt6 REQUIRED COMPONENTS 3danimation) target_link_libraries(mytarget PRIVATE Qt6::3danimation) |
qmake: | QT += 3danimation |
在 QML 中: | AbstractClipBlendNode |
继承: | Qt3DCore::QNode |
继承于 | Qt3DAnimation::QAdditiveClipBlend,Qt3DAnimation::QClipBlendValue, 和Qt3DAnimation::QLerpClipBlend |
状态: | 已废弃 |
详细描述
动画混合树与QBlendedClipAnimator 配合使用,可将一组动画片段动态混合在一起。动画片段的混合方式由混合树的结构及其包含的节点属性控制。
混合树中的叶节点是输入动画片段的容器。这些片段可以是通过QAnimationClipLoader 从文件中读取的烘焙片段,也可以是在应用程序中使用 QAnimatitonClip 和QAnimationClipData 构建的片段。要在混合树中包含剪辑,请将其包裹在QClipBlendValue 节点中。
混合树的内部节点表示将应用于其参数的混合操作,参数包含输入片段,甚至是其他混合树节点的整个子树。
目前,Qt 3D Animation 模块提供以下混合树节点类型:
未来还将添加代表其他混合操作的其他节点类型。
另请参见 QBlendedClipAnimator 。
© 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.