Qt3DCore::QCoreSettings Class
class Qt3DCore::QCoreSettingsLa clase QCoreSettings contiene configuraciones relacionadas con el proceso de manejo de datos centrales. Más...
| Cabecera: | #include <QCoreSettings> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS 3DCore)target_link_libraries(mytarget PRIVATE Qt6::3DCore) |
| qmake: | QT += 3dcore |
| Desde: | Qt 6.0 |
| En QML: | CoreSettings |
| Hereda: | Qt3DCore::QComponent |
| Status: | Obsoleto |
Propiedades
- boundingVolumesEnabled : bool
Funciones públicas
| QCoreSettings(Qt3DCore::QNode *parent = nullptr) | |
| bool | boundingVolumesEnabled() const |
Ranuras públicas
| void | setBoundingVolumesEnabled(bool boundingVolumesEnabled) |
Señales
| void | boundingVolumesEnabledChanged(bool boundingVolumesEnabled) |
Descripción detallada
El componente QCoreSettings debe establecerse como un componente de la entidad raíz de la escena (aunque podría estar en cualquier parte del gráfico de la escena). Debe existir una única instancia.
Puede utilizarse para controlar algunos de los comportamientos de Qt 3D.
Documentación de propiedades
boundingVolumesEnabled : bool
Indica si está activada la gestión de volúmenes límite. Por defecto es verdadero. Deshabilitarlo permite reducir la cantidad de cálculos realizados en cada fotograma. Si está utilizando picking o frustum culling debería mantener esta opción activada (incluso cuando proporcione tamaños de volúmenes explícitos utilizando QBoundingVolume).
Funciones de acceso:
| bool | boundingVolumesEnabled() const |
| void | setBoundingVolumesEnabled(bool boundingVolumesEnabled) |
Señal notificadora:
| void | boundingVolumesEnabledChanged(bool boundingVolumesEnabled) |
Documentación de funciones miembro
[explicit] QCoreSettings::QCoreSettings(Qt3DCore::QNode *parent = nullptr)
Construye un nuevo QCoreSettings con parent.
© 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.