BlendAnimationNode QML Type
一个在两个动画源之间进行混合的混合树节点。更多...
| Import Statement: | import QtQuick.Timeline.BlendTrees |
| Since: | Qt 6.7 |
| Inherits: |
属性
详细说明
BlendAnimationNode 是一个混合树节点,它根据权重值在两个动画源之间进行混合。该权重值可以被动画化,从而在两个动画源之间实现动态混合。
属性文档
source1 : BlendTreeNode
该属性存储第一个动画源。
source2 : BlendTreeNode
该属性存储第二个动画源。
weight : real
该属性用于存储在两个动画源之间进行混合时所使用的权重值。 权重值决定了第一个动画源与第二个动画源的混合比例。权重值为0.0 时,表示仅使用第一个动画源;权重值为1.0 时,表示仅使用第二个动画源;权重值为0.5 时,表示两个动画源按等比例混合。默认值为0.5 。
© 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.