Obsolete Members for Qt3DRender::Quick

Quick 类的以下成员已被废弃。提供这些成员是为了确保旧的源代码能够继续运行。我们强烈建议不要在新代码中使用它们。

类

(deprecated) class QQmlAspectEngine
(deprecated) class QScene2D

类类

[deprecated] class Quick::QScene2D

该类已弃用。我们强烈建议不要在新代码中使用它。

该类使用QQuickRenderControl 将给定的QQuickItem 渲染到一个离屏表面上,该表面与用户提供的纹理相关联。这使得组件能够直接渲染到纹理中而无需中间复制,用户也可以自由指定该纹理在3D场景中的使用方式。

使用 QScene2D 的实体可以与该类关联,以实现与该项的交互;如果某个实体具有QObjectPicker 组件,则该选择器的选中事件会被发送至 QScene2D,转换为鼠标事件,最后发送至该项。

注意:仅 支持鼠标事件。该项不支持键盘输入。

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