이 페이지에서

ProximityFilter QML Type

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

Import Statement: import Qt3D.Render 2.11
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.