The CoreSettings class holds settings related to core data handling process. 更多...
import 语句: | import Qt3D.Core 2.7 |
Since: | Qt 6.0 |
实例化: | QCoreSettings |
The CoreSettings 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.
它可以用于控制 Qt 3D 的某些行为。
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 BoundingVolume ).