Qt3DRender.QProximityFilter¶
Select entities which are within a distance threshold of a target entity. More…
New in version 5.10.
Synopsis¶
Functions¶
def
distanceThreshold
()def
entity
()
Slots¶
def
setDistanceThreshold
(distanceThreshold)def
setEntity
(entity)
Signals¶
def
distanceThresholdChanged
(distanceThreshold)def
entityChanged
(entity)
Detailed Description¶
A
QProximityFilter
can be used to select entities to render when they are placed within a given distance threshold of another entity.
-
class
PySide2.Qt3DRender.Qt3DRender.
QProximityFilter
([parent=None])¶ - Parameters
parent –
QNode
-
PySide2.Qt3DRender.Qt3DRender.QProximityFilter.
distanceThreshold
()¶ - Return type
float
See also
setDistanceThreshold()
-
PySide2.Qt3DRender.Qt3DRender.QProximityFilter.
distanceThresholdChanged
(distanceThreshold)¶ - Parameters
distanceThreshold –
float
-
PySide2.Qt3DRender.Qt3DRender.QProximityFilter.
entity
()¶ - Return type
QEntity
See also
setEntity()
-
PySide2.Qt3DRender.Qt3DRender.QProximityFilter.
entityChanged
(entity)¶ - Parameters
entity –
QEntity
-
PySide2.Qt3DRender.Qt3DRender.QProximityFilter.
setDistanceThreshold
(distanceThreshold)¶ - Parameters
distanceThreshold –
float
See also
distanceThreshold()
-
PySide2.Qt3DRender.Qt3DRender.QProximityFilter.
setEntity
(entity)¶ - Parameters
entity –
QEntity
See also
entity()
© 2018 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.