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>.
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
4
#include "
qquick3dxranimationdriver_p.h
"
5
6
QT_BEGIN_NAMESPACE
7
8
QQuick3DXrAnimationDriver::QQuick3DXrAnimationDriver
()
9
{
10
}
11
12
void
QQuick3DXrAnimationDriver::advance
()
13
{
14
m_elapsed += m_step;
15
advanceAnimation
();
16
}
17
18
qint64
QQuick3DXrAnimationDriver::elapsed
()
const
19
{
20
return
m_elapsed;
21
}
22
23
void
QQuick3DXrAnimationDriver::setStep
(
int
stepSize)
24
{
25
m_step = stepSize;
26
}
27
28
QT_END_NAMESPACE
QAnimationDriver::advanceAnimation
void advanceAnimation()
Advances the animation.
Definition
qabstractanimation.cpp:750
QQuick3DXrAnimationDriver::advance
void advance() override
Advances the animation.
Definition
qquick3dxranimationdriver.cpp:12
QQuick3DXrAnimationDriver::QQuick3DXrAnimationDriver
QQuick3DXrAnimationDriver()
Definition
qquick3dxranimationdriver.cpp:8
QQuick3DXrAnimationDriver::setStep
void setStep(int stepSize)
Definition
qquick3dxranimationdriver.cpp:23
QQuick3DXrAnimationDriver::elapsed
qint64 elapsed() const override
Returns the number of milliseconds since the animations was started.
Definition
qquick3dxranimationdriver.cpp:18
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1590
qquick3dxranimationdriver_p.h
qint64
long long qint64
Definition
qtypes.h:60
qtquick3d
src
xr
quick3dxr
qquick3dxranimationdriver.cpp
Generated by
1.10.0