53 Q_PROPERTY(
bool passthroughSupported READ isPassthroughSupported CONSTANT)
54 Q_PROPERTY(
bool enablePassthrough READ enablePassthrough WRITE setEnablePassthrough NOTIFY enablePassthroughChanged FINAL)
56 Q_PROPERTY(
bool quitOnSessionEnd READ isQuitOnSessionEndEnabled WRITE setQuitOnSessionEnd NOTIFY quitOnSessionEndChanged FINAL)
60 Q_PROPERTY(
bool enableDepthSubmission READ isDepthSubmissionEnabled WRITE setEnableDepthSubmission NOTIFY enableDepthSubmissionChanged FINAL)
73 ReferenceSpaceUnknown,
76 ReferenceSpaceLocalFloor
91 bool isPassthroughSupported()
const;
92 bool enablePassthrough()
const;
94 FoveationLevel fixedFoveation()
const;
95 void setFixedFoveation(FoveationLevel
level);
99 bool isQuitOnSessionEndEnabled()
const;
110 ReferenceSpace referenceSpace()
const;
111 void setReferenceSpace(ReferenceSpace newReferenceSpace);
113 bool isDepthSubmissionEnabled()
const;
120 void setEnablePassthrough(
bool enable);
121 void setQuitOnSessionEnd(
bool enable);
122 void setEnableDepthSubmission(
bool enable);
125 void updateViewportGeometry();
126 void handleSessionEnded();
127 void handleClearColorChanged();
128 void handleAAChanged();
147 QPointer<QQuick3DSceneEnvironment> m_sceneEnvironment;
150 bool m_quitOnSessionEnd =
true;
151 bool m_inDestructor =
false;
152 bool m_isInitialized =
false;
155 QList<QOpenXRItem *> m_xrItems;
static QT_BEGIN_NAMESPACE void init(QTextBoundaryFinder::BoundaryType type, QStringView str, QCharAttributes *attributes)