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
qquick3dparticledirection_p.h
Go to the documentation of this file.
1// Copyright (C) 2021 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3
4#ifndef QQUICK3DPARTICLEDIRECTION_H
5#define QQUICK3DPARTICLEDIRECTION_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists purely as an
12// implementation detail. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include <QObject>
19#include <QVector3D>
20#include <QtQml/qqml.h>
21
22#include <QtQuick3DParticles/qtquick3dparticlesglobal.h>
23#include <QtQuick3DParticles/private/qquick3dparticledata_p.h>
24
26
28
29class Q_QUICK3DPARTICLES_EXPORT QQuick3DParticleDirection : public QObject
30{
34
35public:
36 QQuick3DParticleDirection(QObject *parent = nullptr);
38
39protected:
41
42 QQuick3DParticleSystem *m_system = nullptr;
43};
44
46
47#endif // QQUICK3DPARTICLEDIRECTION_H
\inmodule QtCore
Definition qobject.h:103
virtual QVector3D sample(const QQuick3DParticleData &d)=0
The QVector3D class represents a vector or vertex in 3D space.
Definition qvectornd.h:171
Combined button and popup list for selecting options.
#define QML_ANONYMOUS
#define QML_ADDED_IN_VERSION(MAJOR, MINOR)
#define Q_OBJECT