QCoreSettings Class
class Qt3DCore::QCoreSettingsQCoreSettings 클래스에는 핵심 데이터 처리 프로세스와 관련된 설정이 저장됩니다. 더 보기...
Header: | #include <QCoreSettings> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS 3DCore) target_link_libraries(mytarget PRIVATE Qt6::3DCore) |
qmake: | QT += 3dcore |
이후: | Qt 6.0 |
QML에서: | CoreSettings |
상속: | Qt3DCore::QComponent |
상태: | Deprecated |
속성
- boundingVolumesEnabled : bool
공용 기능
QCoreSettings(Qt3DCore::QNode *parent = nullptr) | |
bool | boundingVolumesEnabled() const |
공용 슬롯
void | setBoundingVolumesEnabled(bool boundingVolumesEnabled) |
신호
void | boundingVolumesEnabledChanged(bool boundingVolumesEnabled) |
상세 설명
QCoreSettings 컴포넌트는 씬 루트 엔티티의 컴포넌트로 설정해야 합니다(씬 그래프의 어느 곳에나 위치할 수 있음). 단일 인스턴스가 있어야 합니다.
Qt 3D 의 일부 동작을 제어하는 데 사용할 수 있습니다.
프로퍼티 문서
boundingVolumesEnabled : bool
바운딩 볼륨 처리가 활성화되어 있는지 여부를 보유합니다. 기본적으로 참입니다. 이 옵션을 비활성화하면 매 프레임마다 수행되는 계산량을 줄일 수 있습니다. 피킹 또는 프러스텀 컬링을 사용하는 경우 이 옵션을 활성화해야 합니다( QBoundingVolume)를 사용하여 명시적인 바운딩 볼륨 크기를 제공하는 경우에도 마찬가지입니다.
함수 액세스:
bool | boundingVolumesEnabled() const |
void | setBoundingVolumesEnabled(bool boundingVolumesEnabled) |
알림 신호:
void | boundingVolumesEnabledChanged(bool boundingVolumesEnabled) |
멤버 함수 문서
[explicit]
QCoreSettings::QCoreSettings(Qt3DCore::QNode *parent = nullptr)
parent 를 사용하여 새 QCoreSettings를 구성합니다.
© 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.