ProximityFilter QML Type
Selecciona las entidades que están dentro de un umbral de distancia de una entidad objetivo. Más...
| Import Statement: | import Qt3D.Render 2.11 |
| In C++: | QProximityFilter |
| Inherits: | |
| Status: | Deprecated |
Propiedades
- distanceThreshold : real
- entity : Entity
Descripción detallada
A ProximityFilter puede utilizarse para seleccionar entidades que se renderizarán cuando estén situadas dentro de un umbral de distancia determinado de otra entidad.
import Qt3DRender 2.10
...
RenderSetting {
Viewport {
CameraSelector {
camera: mainCamera
ProximityFilter {
entity: mainCamera
distanceThreshold: 50 // select entities within 50m metre radius of mainCamera
}
}
}
}Documentación de la propiedad
distanceThreshold : real
Indica la distancia a la entidad de destino por encima de la cual se filtran las entidades.
entity : Entity
Contiene la entidad con la que debemos comparar la distancia.
© 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.