Vector3dAnimation QML Type

动画 QVector3d 值的变化。更多

Import Statement: import QtQuick
Inherits:

PropertyAnimation

属性

  • from : vector3d
  • to : vector3d

详细说明

Vector3dAnimation 是一个专门的PropertyAnimation ,它定义了在 Vector3d 值发生变化时应用的动画。

与其他动画类型一样,Vector3dAnimation 可以多种方式应用,包括转场、行为和属性值源。 Qt Quick 中的"动画和过渡 "文档展示了多种创建动画的方法。

另请参阅 Qt QuickQt Quick 示例 - 动画中的动画和过渡

属性文档

from : vector3d

该属性用于保存动画的起始值。

如果Vector3dAnimation 定义在TransitionBehavior 中,则该值默认为Transition 的起始状态中定义的值,或Behavior 被触发时该属性的当前值。

另请参阅 Qt Quick 中的动画和过渡


to : vector3d

该属性保存动画的结束值。

如果Vector3dAnimation 定义在TransitionBehavior 中,则该值默认为Transition 的结束状态中定义的值,或触发Behavior 的属性变化值。

另请参阅 Qt Quick 中的动画和过渡


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