Qt3DRender::QLevelOfDetailSwitch Class
class Qt3DRender::QLevelOfDetailSwitch거리나 화면 크기에 따라 하위 엔티티를 활성화할 수 있는 방법을 제공합니다. 더 보기...
| 헤더: | #include <qlevelofdetailswitch.h> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS 3drender) target_link_libraries(mytarget PRIVATE Qt6::3drender) |
| qmake: | QT += 3drender |
| QML에서: | LevelOfDetailSwitch |
| 상속: | Qt3DRender::QLevelOfDetail |
| 상태: | 사용 중단됨 |
이 클래스는 더 이상 사용되지 않습니다. 새로운 코드에서는 이 클래스를 사용하지 않는 것을 강력히 권장합니다.
공개 함수
| QLevelOfDetailSwitch(Qt3DCore::QNode *parent = nullptr) |
상세 설명
이 컴포넌트는 엔티티에 할당됩니다. 엔티티가 카메라를 기준으로 한 거리가 변경되면, QLevelOfDetailSwitch는 Qt3DRender::QLevelOfDetailSwitch::currentIndex 인덱스와 일치하는 엔티티를 제외한 모든 자식 엔티티를 비활성화합니다.
멤버 함수 설명
[explicit] QLevelOfDetailSwitch::QLevelOfDetailSwitch(Qt3DCore::QNode *parent = nullptr)
지정된 ` parent`를 사용하여 새로운 `QLevelOfDetailSwitch` 객체를 생성합니다.
© 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.