Qt3DRender::QLevelOfDetailSwitch Class
class Qt3DRender::QLevelOfDetailSwitchOferece uma maneira de ativar entidades secundárias com base na distância ou no tamanho da tela. Mais...
| Cabeçalho: | #include <qlevelofdetailswitch.h> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS 3drender) target_link_libraries(mytarget PRIVATE Qt6::3drender) |
| qmake: | QT += 3drender |
| No QML: | LevelOfDetailSwitch |
| Herdado de: | Qt3DRender::QLevelOfDetail |
| Status: | Obsoleta |
Esta classe está obsoleta. Recomendamos enfaticamente que não seja utilizada em código novo.
Funções públicas
| QLevelOfDetailSwitch(Qt3DCore::QNode *parent = nullptr) |
Descrição detalhada
Este componente é atribuído a uma entidade. Quando a entidade altera a distância em relação à câmera, o QLevelOfDetailSwitch desativará todas as entidades filhas, exceto aquela que corresponde ao índice Qt3DRender::QLevelOfDetailSwitch::currentIndex.
Documentação das funções de membro
[explicit] QLevelOfDetailSwitch::QLevelOfDetailSwitch(Qt3DCore::QNode *parent = nullptr)
Cria um novo objeto `QLevelOfDetailSwitch` com o ` parent` especificado.
© 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.