QCoreSettings Classclass Qt3DCore::QCoreSettings
The QCoreSettings class holds settings related to core data handling process. More...
|CMake:|| find_package(Qt6 COMPONENTS 3dcore REQUIRED) |
target_link_libraries(mytarget PRIVATE Qt6::3dcore)
|qmake:||QT += 3dcore|
- boundingVolumesEnabled : bool
The QCoreSettings component should be set as a component of the scene root entity (although it could be anywhere in the scene graph). There should be a single instance.
It can be used to control some of Qt 3D's behavior.
Holds whether bounding volumes handling is enabled. This is true by default. Disabling this allows to reduce the amount of computations performed each frame. If you are using picking or frustum culling you should keep this enabled (even when providing explicit bounding volumes sizes using QBoundingVolume).
Member Function Documentation
QCoreSettings::QCoreSettings(Qt3DCore::QNode *parent = nullptr)
Constructs a new QCoreSettings with parent.
© 2021 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.