Qt3DRender.QProximityFilter

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

Inheritance diagram of PySide2.Qt3DRender.Qt3DRender.QProximityFilter

New in version 5.10.

Synopsis

Functions

Slots

Signals

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

parentQNode

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

float

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

distanceThresholdfloat

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

QEntity

See also

setEntity()

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

entityQEntity

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

distanceThresholdfloat

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

entityQEntity

See also

entity()