이 페이지에서

Qt3DCore::QCoreSettings Class

class Qt3DCore::QCoreSettings

QCoreSettings 클래스는 코어 데이터 처리 과정과 관련된 설정을 포함하고 있습니다. 더 보기...

헤더: #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
상태: 사용 중단됨

이 클래스는 더 이상 사용되지 않습니다. 새로운 코드에서는 이 클래스를 사용하지 않는 것을 강력히 권장합니다.

속성

공개 함수

QCoreSettings(Qt3DCore::QNode *parent = nullptr)
bool boundingVolumesEnabled() const

공개 슬롯

void setBoundingVolumesEnabled(bool boundingVolumesEnabled)

신호

void boundingVolumesEnabledChanged(bool boundingVolumesEnabled)

상세 설명

QCoreSettings 컴포넌트는 씬 루트 엔티티의 컴포넌트로 설정되어야 합니다(비록 씬 그래프 내 어디에나 위치할 수는 있지만). 인스턴스는 하나만 있어야 합니다.

이 컴포넌트를 사용하여 Qt 3D 의 일부 동작을 제어할 수 있습니다.

속성 설명

boundingVolumesEnabled : bool

바운딩 볼륨 처리가 활성화되어 있는지 여부를 나타냅니다. 기본값은 true입니다. 이 기능을 비활성화하면 프레임당 수행되는 연산량을 줄일 수 있습니다. 피킹(picking)이나 프러스텀 컬링(frustum culling)을 사용하는 경우, QBoundingVolume을 통해 바운딩 볼륨 크기를 명시적으로 지정하더라도 이 기능을 활성화된 상태로 유지해야 합니다.

액세스 함수:

bool boundingVolumesEnabled() const
void setBoundingVolumesEnabled(bool boundingVolumesEnabled)

알림 신호:

void boundingVolumesEnabledChanged(bool boundingVolumesEnabled)

멤버 함수 문서

[explicit] QCoreSettings::QCoreSettings(Qt3DCore::QNode *parent = nullptr)

parent 를 사용하여 새로운 QCoreSettings 객체를 생성합니다.

© 2026 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.