本页内容

AnimationGroup QML Type

一种将动画分组的功能。更多...

Import Statement: import Qt3D.Animation 2.12
Status: Technology preview

此类型处于技术预览阶段,可能会有变动。

属性

详细说明

AnimationGroup 类型用于将多个动画分组,使其能够作为一个整体动画运行。设置给该组的位置也会同时应用于组内所有动画。持续时间取各动画中时间最长的那一个。这些动画可以是任何受支持的动画类型,且名称不必相同。

属性文档

animations : list<AbstractAnimation>

存储动画组中的动画列表。

duration : real [read-only]

保存该组中动画的最长持续时间。

name : string

存储动画组的名称。

position : real

保存动画位置。

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