Qt3DRender::QFrustumCulling Class
class Qt3DRender::QFrustumCullingAbilita il frustum culling per il FrameGraph. Altro...
| Intestazione: | #include <qfrustumculling.h> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS 3drender) target_link_libraries(mytarget PRIVATE Qt6::3drender) |
| qmake: | QT += 3drender |
| In QML: | FrustumCulling |
| Eredita da: | Qt3DRender::QFrameGraphNode |
| Stato: | Obsoleta |
Questa classe è deprecata. Si sconsiglia vivamente di utilizzarla nel nuovo codice.
Funzioni pubbliche
| QFrustumCulling(Qt3DCore::QNode *parent = nullptr) |
Descrizione dettagliata
La classe QFrustumCulling consente il frustum culling delle entità disegnabili in base alla vista della telecamera e ai limiti QGeometry delle entità. Se QFrustumCulling è presente nel FrameGraph, vengono disegnate solo le entità i cui limiti QGeometry si intersecano con il frustum della telecamera, ovvero la vista della telecamera. Se QFrustumCulling non è presente, verranno disegnate tutte le entità disegnabili. La telecamera viene selezionata da un nodo del frame graph di tipo ` QCameraSelector ` nella gerarchia corrente. Il frustum culling può far risparmiare molto tempo di elaborazione della GPU quando la scena renderizzata è complessa.
Vedi anche QCameraSelector.
Documentazione delle funzioni membro
[explicit] QFrustumCulling::QFrustumCulling(Qt3DCore::QNode *parent = nullptr)
Il costruttore crea un'istanza con l'parent e specificato.
© 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.