本页内容

FrustumCulling QML Type

为 FrameGraph 启用锥体剔除。更多...

Import Statement: import Qt3D.Render 2.12
In C++: QFrustumCulling
Inherits:

FrameGraphNode

Status: Deprecated

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

详细描述

FrustumCulling 类型可根据摄像机视图和实体的几何边界,对可绘制实体启用锥体剔除。如果 FrameGraph 中存在 FrustumCulling,则仅绘制其几何边界与摄像机锥体(即摄像机视图)相交的实体。 如果不存在 FrustumCulling,则所有可绘制实体都会被绘制。摄像机由当前层级结构中的CameraSelector 帧图节点选定。当渲染场景较为复杂时,视锥体剔除可节省大量 GPU 处理时间。

另请参阅 CameraSelector 。

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