ProximityFilter QML Type
対象エンティティから距離閾値内にあるエンティティを選択する。詳細...
| Import Statement: | import Qt3D.Render 2.11 |
| In C++: | QProximityFilter |
| Inherits: | |
| Status: | Deprecated |
プロパティ
- distanceThreshold : real
- entity : Entity
詳細説明
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.