8#if defined(Q_OS_VISIONOS)
31void QQuick3DXrHandModel::updatePose()
35 int count = jointListProp.count(&jointListProp);
39 auto *joint = jointListProp.
at(&jointListProp,
i);
41 joint->setRotation(rotations.at(
i));
44 static bool warned =
false;
46 qWarning() <<
"No skin available for hand model";
52void QQuick3DXrHandModel::setupModel()
55 qWarning() <<
"XrHandModel does not support changing hand";
60 m_handTracker = inputMan->rightHandInput();
62 m_handTracker = inputMan->leftHandInput();
96 if (m_hand == newHand)
const_reference at(qsizetype i) const noexcept
virtual void componentComplete()=0
Invoked after the root component that caused this instantiation has completed construction.
QQuick3DSkin * skin
\qmlproperty Skin Model::skin
void setVisible(bool visible)
QQmlListProperty< QQuick3DNode > joints
\qmlproperty List<QtQuick3D::Node> Skin::joints
QQuick3DXrHandModel(QQuick3DNode *parent=nullptr)
\qmltype XrHandModel \inherits Model \inqmlmodule QtQuick3D.Xr
void setHand(Hand newHand)
void componentComplete() override
Invoked after the root component that caused this instantiation has completed construction.
Combined button and popup list for selecting options.
static const QCssKnownValue positions[NumKnownPositionModes - 1]
GLenum GLenum GLsizei count
connect(quitButton, &QPushButton::clicked, &app, &QCoreApplication::quit, Qt::QueuedConnection)