QProximityFilter Class
class Qt3DRender::QProximityFilter대상 엔티티의 거리 임계값 내에 있는 엔티티를 선택합니다. 더 보기...
Header: | #include <QProximityFilter> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS 3drender) target_link_libraries(mytarget PRIVATE Qt6::3drender) |
qmake: | QT += 3drender |
QML에서: | ProximityFilter |
상속합니다: | Qt3DRender::QFrameGraphNode |
상태: | Deprecated |
속성
- 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.