W3cubDocs

/Qt 5.11

QClock Class

(Qt3DAnimation::QClock)
Inherits: Qt3DCore::QNode

Properties

Public Functions

QClock(Qt3DCore::QNode *parent = nullptr)
virtual ~QClock()
double playbackRate() const
void setPlaybackRate(double playbackRate)

Signals

void playbackRateChanged(double playbackRate)

Protected Functions

QClock(Qt3DAnimation::QClockPrivate &dd, Qt3DCore::QNode *parent = nullptr)

Additional Inherited Members

  • 3 public slots inherited from Qt3DCore::QNode
  • 1 public slot inherited from QObject
  • 1 public variable inherited from QObject
  • 10 static public members inherited from QObject
  • 2 protected variables inherited from QObject

Property Documentation

playbackRate : double

The playback speed of the animation.

Access functions:

double playbackRate() const
void setPlaybackRate(double playbackRate)

Notifier signal:

void playbackRateChanged(double playbackRate)

Member Function Documentation

QClock::QClock(Qt3DCore::QNode *parent = nullptr)

Default constructs an instance of QClock.

[protected] QClock::QClock(Qt3DAnimation::QClockPrivate &dd, Qt3DCore::QNode *parent = nullptr)

Default constructs an instance of QClock.

[virtual] QClock::~QClock()

Destroys the instance of QClock. The destructor is virtual.

© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-5/qt3danimation-qclock.html