Qt3DRender::QPickingProxy Class
class Qt3DRender::QPickingProxy픽킹 용도로만 사용되는 대체 QGeometryView를 제공하는 데 사용할 수 있습니다. 더 보기...
| 헤더: | #include <qpickingproxy.h> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS 3drender) target_link_libraries(mytarget PRIVATE Qt6::3drender) |
| qmake: | QT += 3drender |
| 다음부터: | Qt 6.0부터 |
| QML에서: | PickingProxy |
| 상속: | Qt3DCore::QBoundingVolume |
| 상태: | 사용 중단됨 |
이 클래스는 더 이상 사용되지 않습니다. 새로운 코드에서는 이 클래스를 사용하지 않는 것을 강력히 권장합니다.
공개 함수
| QPickingProxy(Qt3DCore::QNode *parent = nullptr) |
상세 설명
피킹은 특히 메시에 버텍스가 많은 경우 비용이 많이 드는 작업이 될 수 있습니다. QPickProxy를 사용하면 일반적으로 프리미티브 수가 더 적은 대체 지오메트리를 제공하여 피킹에 사용할 수 있으며, 렌더링에는 GeometryRenderer 인스턴스를 사용할 수 있습니다.
참고: 애플리케이션에서 피킹 좌표가 렌더링된 메시와 일치해야 하는 경우 QPickingProxy를 사용하지마십시오 .
참고: 피킹알고리즘은 바운딩 볼륨 계층 구조를 사용하여, 바운딩 볼륨이 피킹 광선과 교차하지 않는 엔티티를 최적화하여 제외합니다. 이 계층 구조에서는 프록시의 바운딩 볼륨 대신 렌더링된 엔티티의 바운딩 볼륨(또는 QBoundingVolume 컴포넌트를 사용하여 명시적으로 설정된 바운딩 볼륨)이 사용됩니다.
멤버 함수 문서
[explicit] QPickingProxy::QPickingProxy(Qt3DCore::QNode *parent = nullptr)
parent 를 사용하여 새로운 QPickingProxy를 생성합니다.
© 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.