Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
Go to the source code of this file.
Classes | |
struct | QOpenXRView::XrTouchState |
Macros | |
#define | Q_TOUCHPOINT_STATE(prop) { QStringLiteral(#prop), QVariant::fromValue(it->prop) } |
\qmlmethod object XrView::touchpointState(int pointId) | |
#define Q_TOUCHPOINT_STATE | ( | prop | ) | { QStringLiteral(#prop), QVariant::fromValue(it->prop) } |
\qmlmethod object XrView::touchpointState(int pointId)
This method returns the state of the touch point with ID pointId. The state is represented by a map from property names to values:
\table \header
grabbed
bool
false
, all other values are undefined
. \row target
pressed
bool
cursorPos
point
target
\row touchDistance
real
0
if pressed
is true
. \endtable Definition at line 444 of file qopenxrview.cpp.
Referenced by QOpenXRView::touchpointState().