이 페이지에서

ProximityFilter QML Type

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

Import Statement: import Qt3D.Render 2.12
In C++: QProximityFilter
Inherits:

FrameGraphNode

Status: Deprecated

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

속성

상세 설명

ProximityFilter 는 엔티티가 다른 엔티티로부터 지정된 거리 임계값 이내에 위치할 때 렌더링할 엔티티를 선택하는 데 사용할 수 있습니다.

import Qt3DRender 2.10
...
RenderSetting {
    Viewport {
        CameraSelector {
            camera: mainCamera
            ProximityFilter {
                entity: mainCamera
                distanceThreshold: 50 // select entities within 50m metre radius of mainCamera
            }
        }
    }
}

속성 설명

distanceThreshold : real

대상 엔티티와의 거리 중, 이 거리 이상인 엔티티는 필터링되어 제외됩니다.

entity : 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.