QProximityFilter

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

Inheritance diagram of PySide6.Qt3DRender.Qt3DRender.QProximityFilter

New in version 5.10.

Synopsis

Functions

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 PySide6.Qt3DRender.Qt3DRender.QProximityFilter([parent=None])
Parameters

parentPySide6.Qt3DCore.Qt3DCore.QNode

PySide6.Qt3DRender.Qt3DRender.QProximityFilter.distanceThreshold()
Return type

float

PySide6.Qt3DRender.Qt3DRender.QProximityFilter.distanceThresholdChanged(distanceThreshold)
Parameters

distanceThreshold – float

PySide6.Qt3DRender.Qt3DRender.QProximityFilter.entity()
Return type

PySide6.Qt3DCore.Qt3DCore.QEntity

See also

setEntity()

PySide6.Qt3DRender.Qt3DRender.QProximityFilter.entityChanged(entity)
Parameters

entityPySide6.Qt3DCore.Qt3DCore.QEntity

PySide6.Qt3DRender.Qt3DRender.QProximityFilter.setDistanceThreshold(distanceThreshold)
Parameters

distanceThreshold – float

PySide6.Qt3DRender.Qt3DRender.QProximityFilter.setEntity(entity)
Parameters

entityPySide6.Qt3DCore.Qt3DCore.QEntity

See also

entity()