QPickEvent Class

(Qt3DRender::QPickEvent)
Inherits: QObject

Properties

  • 1 property inherited from QObject

Public Functions

QPickEvent()
QPickEvent(const QPointF &position, const QVector3D &worldIntersection, const QVector3D &localIntersection, float distance)
~QPickEvent()
float distance() const
bool isAccepted() const
QVector3D localIntersection() const
QPointF position() const
QVector3D worldIntersection() const
  • 31 public functions inherited from QObject

Public Slots

void setAccepted(bool accepted)
  • 1 public slot inherited from QObject

Signals

void acceptedChanged(bool accepted)

Protected Functions

QPickEvent(QObjectPrivate &dd, QObject *parent = nullptr)
  • 9 protected functions inherited from QObject

Additional Inherited Members

  • 1 public variable inherited from QObject
  • 10 static public members inherited from QObject
  • 2 protected variables inherited from QObject

Property Documentation

accepted : bool

Access functions:

bool isAccepted() const
void setAccepted(bool accepted)

Notifier signal:

void acceptedChanged(bool accepted)

distance : const float

Access functions:

float distance() const

localIntersection : const QVector3D

Access functions:

QVector3D localIntersection() const

position : const QPointF

Access functions:

QPointF position() const

worldIntersection : const QVector3D

Access functions:

QVector3D worldIntersection() const

Member Function Documentation

QPickEvent::QPickEvent()

Default constructs an instance of QPickEvent.

QPickEvent::QPickEvent(const QPointF &position, const QVector3D &worldIntersection, const QVector3D &localIntersection, float distance)

Default constructs an instance of QPickEvent.

[protected] QPickEvent::QPickEvent(QObjectPrivate &dd, QObject *parent = nullptr)

Default constructs an instance of QPickEvent.

QPickEvent::~QPickEvent()

Destroys the instance of QPickEvent.