QCoreSettings#
The QCoreSettings
class holds settings related to core data handling process. More…
Synopsis#
Functions#
def
boundingVolumesEnabled
()
Slots#
def
setBoundingVolumesEnabled
(boundingVolumesEnabled)
Signals#
def
boundingVolumesEnabledChanged
(boundingVolumesEnabled)
Detailed Description#
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.
- class PySide6.Qt3DCore.Qt3DCore.QCoreSettings([parent=None])#
- Parameters
parent –
PySide6.Qt3DCore.Qt3DCore.QNode
Constructs a new QCoreSettings
with parent
.
- PySide6.Qt3DCore.Qt3DCore.QCoreSettings.boundingVolumesEnabled()#
- Return type
bool
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
).
- PySide6.Qt3DCore.Qt3DCore.QCoreSettings.boundingVolumesEnabledChanged(boundingVolumesEnabled)#
- Parameters
boundingVolumesEnabled – bool
- PySide6.Qt3DCore.Qt3DCore.QCoreSettings.setBoundingVolumesEnabled(boundingVolumesEnabled)#
- Parameters
boundingVolumesEnabled – bool
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
).