QPickingProxy Class

class Qt3DRender::QPickingProxy

피킹에만 사용되는 대체 QGeometryView를 제공하는 데 사용할 수 있습니다. 더 보기...

헤더: #include <QPickingProxy>
CMake: find_package(Qt6 REQUIRED COMPONENTS 3drender)
target_link_libraries(mytarget PRIVATE Qt6::3drender)
qmake: QT += 3drender
이후: Qt 6.0
QML에서: PickingProxy
상속: Qt3DCore::QBoundingVolume
상태: Deprecated

공용 함수

QPickingProxy(Qt3DCore::QNode *parent = nullptr)

상세 설명

선택은 특히 메쉬에 정점이 많은 경우 비용이 많이 드는 작업이 될 수 있습니다. QPickProxy를 사용하면 일반적으로 더 적은 수의 프리미티브가 있는 대체 지오메트리를 제공하여 피킹에 사용하고 GeometryRenderer 인스턴스는 렌더링에 사용할 수 있습니다.

참고: 애플리케이션에서 렌더링된 메시와 일치하도록 좌표를 선택해야 하는 경우 QPickingProxy를 사용하지 마십시오.

참고: 피킹 알고리즘은 바운딩 볼륨 계층구조를 사용하여 바운딩 볼륨이 피킹 레이와 교차하지 않는 엔티티를 최적화합니다. 이 계층구조에서는 프록시의 바운딩 볼륨이 아닌 렌더링된 엔티티의 바운딩 볼륨(또는 QBoundingVolume 컴포넌트를 사용하여 명시적으로 설정한 볼륨)이 사용됩니다.

멤버 함수 문서

[explicit] QPickingProxy::QPickingProxy(Qt3DCore::QNode *parent = nullptr)

parent 를 사용하여 새 QPickingProxy를 생성합니다.

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