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
6
#
include
"qquick3dxranimationdriver_p.h"
7
8
QT_BEGIN_NAMESPACE
9
10
QQuick3DXrAnimationDriver::QQuick3DXrAnimationDriver()
11
{
12
}
13
14
void
QQuick3DXrAnimationDriver::advance()
15
{
16
m_elapsed += m_step;
17
advanceAnimation();
18
}
19
20
qint64 QQuick3DXrAnimationDriver::elapsed()
const
21
{
22
return
m_elapsed;
23
}
24
25
void
QQuick3DXrAnimationDriver::setStep(
int
stepSize)
26
{
27
m_step = stepSize;
28
}
29
30
void
QQuick3DXrAnimationDriver::start()
31
{
32
m_elapsed = 0;
33
QAnimationDriver::start();
34
}
35
36
QT_END_NAMESPACE
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qrandomaccessasyncfile_darwin.mm:17
qtquick3d
src
xr
quick3dxr
qquick3dxranimationdriver.cpp
Generated on
for Qt by
1.16.1