PySide6.Qt3DRender.Qt3DRender.QPickPointEvent

class QPickPointEvent

The QPickPointEvent class holds information when a segment of a point cloud is picked. More

Inheritance diagram of PySide6.Qt3DRender.Qt3DRender.QPickPointEvent

Synopsis

Properties

Methods

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

See also

QPickEvent

Note

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

property pointIndexᅟ: int

Specifies the index of the point that was picked

Access functions:
__init__()

Constructs a new QPickPointEvent .

__init__(position, worldIntersection, localIntersection, distance, pointIndex, button, buttons, modifiers)
Parameters:
  • positionQPointF

  • worldIntersectionQVector3D

  • localIntersectionQVector3D

  • distance – float

  • pointIndex – int

  • buttonButtons

  • buttons – int

  • modifiers – int

pointIndex()
Return type:

int

QPickPointEvent::pointIndex Returns the index of the picked point

Getter of property pointIndexᅟ .