Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qquick3dxranimationdriver.cpp
Go to the documentation of this file.
1// Copyright (C) 2024 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3// Qt-Security score:significant reason:default
4
5
7
9
10QQuick3DXrAnimationDriver::QQuick3DXrAnimationDriver()
11{
12}
13
14void QQuick3DXrAnimationDriver::advance()
15{
16 m_elapsed += m_step;
17 advanceAnimation();
18}
19
20qint64 QQuick3DXrAnimationDriver::elapsed() const
21{
22 return m_elapsed;
23}
24
25void QQuick3DXrAnimationDriver::setStep(int stepSize)
26{
27 m_step = stepSize;
28}
29
30void QQuick3DXrAnimationDriver::start()
31{
32 m_elapsed = 0;
33 QAnimationDriver::start();
34}
35
36QT_END_NAMESPACE
Combined button and popup list for selecting options.