QLevelOfDetailSwitch Class
class Qt3DRender::QLevelOfDetailSwitch거리 또는 화면 크기에 따라 하위 엔티티를 활성화하는 방법을 제공합니다. 더 보기...
Header: | #include <QLevelOfDetailSwitch> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS 3drender) target_link_libraries(mytarget PRIVATE Qt6::3drender) |
qmake: | QT += 3drender |
QML에서: | LevelOfDetailSwitch |
상속합니다: | Qt3DRender::QLevelOfDetail |
상태: | Deprecated |
공용 함수
QLevelOfDetailSwitch(Qt3DCore::QNode *parent = nullptr) |
상세 설명
이 컴포넌트는 엔티티에 할당됩니다. 엔티티가 카메라를 기준으로 거리를 변경하면, QLevelOfDetailSwitch는 일치하는 인덱스 Qt3DRender::QLevelOfDetailSwitch::currentIndex 하나를 제외한 모든 자손 엔티티를 비활성화합니다.
멤버 함수 문서
[explicit]
QLevelOfDetailSwitch::QLevelOfDetailSwitch(Qt3DCore::QNode *parent = nullptr)
지정된 parent 로 새 QLevelOfDetailSwitch 를 생성합니다.
© 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.