本页内容

Qt 3D Scene2D C++ Classes

Qt 3D 模块(Scene2D )提供了一种将Quick2 QML内容渲染到Qt 3D 纹理的方法。更多内容...

自 6.8 版本起,该模块已被废弃。我们强烈建议不要在新代码中使用它。

命名空间

类

详细描述

该模块仍处于开发阶段,但已作为技术预览版提供。这意味着它尚不稳定,可能会发生变更,且仅作为便利功能提供。

#include <Qt3DQuickScene2D>

若要链接相应的 C++ 库,请在您的 qmake 项目文件中添加以下内容:

QT += 3dquickscene2d

类、类型和函数均声明在Qt3DScene2D 命名空间下。

概述

Scene2D

参考

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