Qt Quick 3D Effects QML Types
自 QtQuick3D.Effects 6.5 起,该模块已被弃用。我们强烈建议不要在新代码中使用该模块。
请使用ExtendedSceneEnvironment 、MultiEffect 或通过Effect 类型的用户自定义特效。
警告: 从 Qt 6.5 开始,QtQuick3D.Effects 中的所有预制独立特效都将被视为弃用。取而代之的是,要获得由 3D 渲染器执行的高质量、高性能的后期处理特效实现,如景深、发光和绽放、镜头耀斑、渐晕、色彩调整和分级、雾或环境遮蔽,请使用ExtendedSceneEnvironment 。它具有更好的性能、更高的视觉质量,在组合特效时具有更好的互操作性(例如对色调映射的适当支持),而且更适合视觉设计工具(如Qt Design Studio )。对于不需要在 3D 场景中执行的 2D 效果,如对View3D 项目的内容进行模糊处理,可在View3D (或其父节点)上使用MultiEffect 。如果这些都不合适,应用程序可以通过Effect 类型提供自己的后期处理效果。
警告 QtQuick3D.Effects 中所有预制的独立特效都与Qt Quick 3D XR 的多视图渲染模式不兼容,而多视图渲染模式通常用于 VR/AR 应用程序。新应用程序应始终使用ExtendedSceneEnvironment 或应用程序通过Effect 类型提供的自定义特效,这些特效也与多视图渲染完全兼容。
© 2025 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.