이 페이지에서

Qt3DRender::QProximityFilter Class

class Qt3DRender::QProximityFilter

대상 엔티티로부터 거리 임계값 이내에 있는 엔티티를 선택합니다. 더 보기...

헤더: #include <qproximityfilter.h>
CMake: find_package(Qt6 REQUIRED COMPONENTS 3drender)
target_link_libraries(mytarget PRIVATE Qt6::3drender)
qmake: QT += 3drender
QML에서: ProximityFilter
상속: Qt3DRender::QFrameGraphNode
상태: 사용 중단됨

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

속성

공개 함수

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)

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