QProximityFilter Class
class Qt3DRender::QProximityFilter対象エンティティから距離閾値内にあるエンティティを選択する。詳細...
ヘッダ | #include <QProximityFilter> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS 3drender) target_link_libraries(mytarget PRIVATE Qt6::3drender) |
qmake | QT += 3drender |
QML で | ProximityFilter |
を継承しています: | Qt3DRender::QFrameGraphNode |
ステータス | 非推奨 |
プロパティ
- distanceThreshold : float
- entity : Qt3DCore::QEntity*
パブリック機能
float | distanceThreshold() const |
Qt3DCore::QEntity * | entity() const |
パブリックスロット
void | setDistanceThreshold(float distanceThreshold) |
void | setEntity(Qt3DCore::QEntity *entity) |
シグナル
void | distanceThresholdChanged(float distanceThreshold) |
void | entityChanged(Qt3DCore::QEntity *entity) |
詳細説明
Qt3DRender::QProximityFilter は、他のエンティティから指定された距離の閾値内にエンティティが配置されたときに、レンダリングするエンティティを選択するために使用できます。
プロパティの説明
distanceThreshold : float
フィルタリングの対象となるエンティティまでの距離を保持する。
アクセス関数:
float | distanceThreshold() const |
void | setDistanceThreshold(float distanceThreshold) |
通知シグナル:
void | distanceThresholdChanged(float distanceThreshold) |
entity : Qt3DCore::QEntity*
距離を比較するエンティティを保持する。
アクセス関数:
Qt3DCore::QEntity * | entity() const |
void | setEntity(Qt3DCore::QEntity *entity) |
通知シグナル:
void | entityChanged(Qt3DCore::QEntity *entity) |
© 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.