Vector3dAnimation QML Type
以动画形式展示 QVector3d 值的变化。更多...
| Import Statement: | import QtQuick |
| Inherits: |
属性
详细描述
Vector3dAnimation 是一种专门的PropertyAnimation ,用于定义在 Vector3d 值发生变化时应用的动画。
与其他动画类型一样,Vector3dAnimation 可以通过多种方式应用,包括过渡效果、行为以及属性值来源。《 Qt Quick 中的动画与过渡》文档展示了创建动画的多种方法。
另请参阅 《Qt Quick 》中的“动画与过渡”以及《Qt Quick 示例——动画》。
属性文档
from : vector3d
该属性存储动画的起始值。
如果Vector3dAnimation 在Transition 或Behavior 中定义,则该值默认为Transition 的起始状态中定义的值,或者为Behavior 被触发时该属性的当前值。
另请参阅 Qt Quick 中的“动画与过渡”。
to : vector3d
该属性存储动画的结束值。
如果Vector3dAnimation 在Transition 或Behavior 中定义,则此值默认为Transition 的结束状态中定义的值,或触发Behavior 的属性change的值。
另请参阅 Qt Quick 中的“动画和过渡”。
© 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.