BlendAnimationNode QML Type

混合树节点,用于在两个动画源之间进行混合。更多

Import Statement: import QtQuick.Timeline.BlendTrees
Since: Qt 6.7
Inherits:

BlendTreeNode

属性

详细说明

BlendAnimationNode 是一个混合树节点,可根据权重值在两个动画源之间进行混合。权重值可以通过动画在两个动画源之间动态混合。

属性文档

source1 : BlendTreeNode

此属性包含第一个动画源。


source2 : BlendTreeNode

该属性用于保存第二个动画源。


weight : real

该属性包含用于在两个动画源之间进行混合的权重值。权重值决定了第一个动画源与第二个动画源混合的程度。权重值为0.0 表示只使用第一个动画源,权重值为1.0 表示只使用第二个动画源,权重值为0.5 表示两个动画源混合的程度相同。默认值为0.5


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