Qt3DRender::QLevelOfDetailSwitch Class
class Qt3DRender::QLevelOfDetailSwitchOfrece una forma de activar entidades secundarias en función de la distancia o del tamaño de la pantalla. Más información...
| Encabezado: | #include <qlevelofdetailswitch.h> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS 3drender) target_link_libraries(mytarget PRIVATE Qt6::3drender) |
| qmake: | QT += 3drender |
| En QML: | LevelOfDetailSwitch |
| Heredado de: | Qt3DRender::QLevelOfDetail |
| Estado: | Obsoleto |
Esta clase está obsoleta. Se desaconseja encarecidamente su uso en código nuevo.
Funciones públicas
| QLevelOfDetailSwitch(Qt3DCore::QNode *parent = nullptr) |
Descripción detallada
Este componente se asigna a una entidad. Cuando la entidad cambia de distancia con respecto a la cámara, QLevelOfDetailSwitch desactivará todas las entidades secundarias excepto aquella que coincida con el índice Qt3DRender::QLevelOfDetailSwitch::currentIndex.
Documentación de las funciones miembro
[explicit] QLevelOfDetailSwitch::QLevelOfDetailSwitch(Qt3DCore::QNode *parent = nullptr)
Crea un nuevo objeto `QLevelOfDetailSwitch` con el ` 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.