QCoreSettings Class
class Qt3DCore::QCoreSettingsDie Klasse QCoreSettings enthält Einstellungen, die sich auf den Kerndatenverarbeitungsprozess beziehen. Mehr...
Kopfzeile: | #include <QCoreSettings> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS 3DCore) target_link_libraries(mytarget PRIVATE Qt6::3DCore) |
qmake: | QT += 3dcore |
Seit: | Qt 6.0 |
In QML: | CoreSettings |
Vererbt: | Qt3DCore::QComponent |
Status: | Veraltet |
Eigenschaften
- boundingVolumesEnabled : bool
Öffentliche Funktionen
QCoreSettings(Qt3DCore::QNode *parent = nullptr) | |
bool | boundingVolumesEnabled() const |
Öffentliche Slots
void | setBoundingVolumesEnabled(bool boundingVolumesEnabled) |
Signale
void | boundingVolumesEnabledChanged(bool boundingVolumesEnabled) |
Detaillierte Beschreibung
Die Komponente QCoreSettings sollte als eine Komponente der Root-Entität der Szene gesetzt werden (obwohl sie überall im Szenegraphen sein kann). Es sollte eine einzige Instanz geben.
Sie kann verwendet werden, um einige der Verhaltensweisen von Qt 3D zu steuern.
Dokumentation der Eigenschaft
boundingVolumesEnabled : bool
Gibt an, ob die Behandlung von Begrenzungsvolumina aktiviert ist. Standardmäßig ist dies der Fall. Wenn Sie dies deaktivieren, können Sie die Anzahl der pro Frame durchgeführten Berechnungen reduzieren. Wenn Sie Picking oder Frustum Culling verwenden, sollten Sie dies aktiviert lassen (auch wenn Sie explizite Größen für Bounding Volumes mit QBoundingVolume angeben).
Zugriffsfunktionen:
bool | boundingVolumesEnabled() const |
void | setBoundingVolumesEnabled(bool boundingVolumesEnabled) |
Benachrichtigungssignal:
void | boundingVolumesEnabledChanged(bool boundingVolumesEnabled) |
Member Function Dokumentation
[explicit]
QCoreSettings::QCoreSettings(Qt3DCore::QNode *parent = nullptr)
Konstruiert ein neues QCoreSettings mit parent.
© 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.