Obsolete Members for Qt3DLogic
Qt3DLogic 类的以下成员已被废弃。提供这些成员是为了确保旧源代码能够继续运行。我们强烈建议不要在新代码中使用它们。
命名空间
(deprecated) namespace | Logic |
类
(deprecated) class | QFrameAction |
(deprecated) class | QLogicAspect |
命名空间
[deprecated] namespace Qt3DLogic::Logic
该命名空间已弃用。我们强烈建议不要在新代码中使用它。
类
[deprecated] class Qt3DLogic::QFrameAction
该类已弃用。我们强烈建议不要在新代码中使用它。
QFrameAction 提供了一种方法,可在每帧与 Qt3D 后端同步地执行任务。这对于实现应用程序逻辑的某些方面,以及原型设计后续可整合到 Qt3D 其他功能中的功能非常有用。
例如,当Qt Quick 动画元素无法实现完美同步且在某些情况下可能导致卡顿时,可以使用 QFrameAction 使属性动画与 Qt3D 引擎保持同步。
若要在每个帧执行自定义代码,请连接到QFrameAction::triggered 信号。
[deprecated] class Qt3DLogic::QLogicAspect
该类已弃用。我们强烈建议不要在新代码中使用它。
© 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.