AbstractClipBlendNode QML Type
AbstractClipBlendNode 是用于构建动画混合树的类型的基类。更多内容...
| Import Statement: | import Qt3D.Animation 2.12 |
| In C++: | QAbstractClipBlendNode |
| Status: | Technology preview |
此类型处于技术预览阶段,可能会有变动。
详细描述
动画混合树与BlendedClipAnimator 配合使用,可将一组动画片段动态混合在一起。动画片段的混合方式由混合树的结构及其所含节点的属性所控制。
混合树中的叶节点是输入动画片段的容器。这些片段可以是通过 AnimationClipLoader 从文件中读取的烘焙片段,也可以是您在应用程序中使用 AnimatitonClip 和 AnimationClipData 构建的片段。要将一个片段包含在混合树中,请将其封装在ClipBlendValue 节点中。
混合树的内部节点代表将应用于其参数的混合操作,这些参数可能包含输入片段,甚至可能是其他混合树节点的整个子树。
目前,Qt 3D 动画模块提供了以下混合树节点类型:
- Qt3D.Animation.ClipBlendValue
- Qt3D.Animation.LerpClipBlend
- Qt3D.Animation.QAdditiveClipBlend
未来还将添加代表其他混合操作的节点类型。
另请参阅 BlendedClipAnimator 。
© 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.