Qt3DCore::QCoreSettings Class
class Qt3DCore::QCoreSettingsQCoreSettings クラスは、コアデータの処理プロセスに関連する設定を保持しています。詳細...
| ヘッダー: | #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 |
| ステータス: | 非推奨 |
このクラスは非推奨です。新しいコードでの使用は強く推奨しません。
プロパティ
- boundingVolumesEnabled : bool
パブリック関数
| QCoreSettings(Qt3DCore::QNode *parent = nullptr) | |
| bool | boundingVolumesEnabled() const |
パブリックスロット
| void | setBoundingVolumesEnabled(bool boundingVolumesEnabled) |
シグナル
| void | boundingVolumesEnabledChanged(bool boundingVolumesEnabled) |
詳細な説明
QCoreSettings コンポーネントは、シーンのルートエンティティのコンポーネントとして設定する必要があります(ただし、シーングラフ内のどこに配置してもかまいません)。インスタンスは 1 つだけにしてください。
Qt 3D の動作の一部を制御するために使用できます。
プロパティのドキュメント
boundingVolumesEnabled : bool
バウンディングボリュームの処理が有効かどうかを示します。デフォルトでは true です。これを無効にすると、各フレームで実行される計算量を削減できます。ピッキングやフラスタムカリングを使用している場合は、この設定を有効にしておく必要があります(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.