|qmake:||QT += 3drender|
- 1 property inherited from QObject
|QPickEvent(const QPointF &position, const QVector3D &intersection, const QVector3D &localIntersection, float distance)|
- 31 public functions inherited from QObject
- 1 public slot inherited from QObject
- 2 signals inherited from QObject
Additional Inherited Members
The QPickEvent class holds information when an object is picked
Specifies if event has been accepted
Specifies the distance of the event
localIntersection : const QVector3D
Specifies the local intersection of the event
position : const QPointF
Specifies the position of the event
worldIntersection : const QVector3D
Specifies the world intersection of the event
Member Function Documentation
Constructs a new QPickEvent.
QPickEvent::QPickEvent(const QPointF &position, const QVector3D &intersection, const QVector3D &localIntersection, float distance)
Constructs a new QPickEvent with the given parameters: position, intersection, localIntersection and distance
QPickEvent::distance Returns distance from camera to pick point
Note: Getter function for property distance.
QPickEvent::isAccepted Returns true if the event has been accepted
Note: Getter function for property accepted.
QVector3D QPickEvent::localIntersection() const
QPickEvent::localIntersection Returns local coordinate of pick point
Note: Getter function for property localIntersection.
QPointF QPickEvent::position() const
QPickEvent::position Returns mouse pointer coordinate of the pick query
Note: Getter function for property position.
QPickEvent::setAccepted set if the event has been accepted to accepted
Note: Setter function for property accepted.
See also isAccepted().
QVector3D QPickEvent::worldIntersection() const
QPickEvent::worldIntersection Returns world coordinate of the pick point
Note: Getter function for property worldIntersection.
© 2016 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.