class QProximityFilter#

Select entities which are within a distance threshold of a target entity. More

Inheritance diagram of PySide6.Qt3DRender.Qt3DRender.QProximityFilter

Synopsis#

Properties#

Methods#

Slots#

Signals#

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

Detailed Description#

A QProximityFilter can be used to select entities to render when they are placed within a given distance threshold of another entity.

Note

Properties can be used directly when from __feature__ import true_property is used or via accessor functions otherwise.

property distanceThresholdᅟ: float#

Holds the distance to the target entity above which entities are filtered out.

Access functions:
property entityᅟ: QEntity#

Holds the entity against which we should compare the distance to.

Access functions:
__init__([parent=None])#
Parameters:

parentQNode

distanceThreshold()#
Return type:

float

See also

setDistanceThreshold()

Getter of property distanceThresholdᅟ .

distanceThresholdChanged(distanceThreshold)#
Parameters:

distanceThreshold – float

Notification signal of property distanceThresholdᅟ .

entity()#
Return type:

QEntity

See also

setEntity()

Getter of property entityᅟ .

entityChanged(entity)#
Parameters:

entityQEntity

Notification signal of property entityᅟ .

setDistanceThreshold(distanceThreshold)#
Parameters:

distanceThreshold – float

See also

distanceThreshold()

Setter of property distanceThresholdᅟ .

setEntity(entity)#
Parameters:

entityQEntity

See also

entity()

Setter of property entityᅟ .