Qt3DRender::QFrustumCulling Class
class Qt3DRender::QFrustumCullingFrameGraph에 프러스텀 컬링을 활성화합니다. 더 보기...
| 헤더: | #include <qfrustumculling.h> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS 3drender) target_link_libraries(mytarget PRIVATE Qt6::3drender) |
| qmake: | QT += 3drender |
| QML에서: | FrustumCulling |
| 상속: | Qt3DRender::QFrameGraphNode |
| 상태: | 사용 중단됨 |
이 클래스는 더 이상 사용되지 않습니다. 새로운 코드에서는 이 클래스를 사용하지 않는 것을 강력히 권장합니다.
공개 함수
| QFrustumCulling(Qt3DCore::QNode *parent = nullptr) |
상세 설명
QFrustumCulling 클래스는 카메라 뷰와 엔티티의 QGeometry 경계를 기반으로 드로어블 엔티티의 프러스텀 컬링을 가능하게 합니다. FrameGraph에 QFrustumCulling이 존재하는 경우, QGeometry 경계가 카메라 프러스텀(즉, 카메라의 시야)과 교차하는 엔티티만 그려집니다. QFrustumCulling이 없는 경우, 모든 렌더링 가능한 엔티티가 그려집니다. 카메라는 현재 계층 구조 내의 QCameraSelector 프레임 그래프 노드에 의해 선택됩니다. 프러스텀 컬링은 렌더링되는 장면이 복잡한 경우 GPU 처리 시간을 크게 절약할 수 있습니다.
QCameraSelector도 참조하십시오 .
멤버 함수 문서
[explicit] QFrustumCulling::QFrustumCulling(Qt3DCore::QNode *parent = nullptr)
이 생성자는 지정된 ` parent`을 사용하여 인스턴스를 생성합니다.
© 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.