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
qquick3dparticlesystem.cpp File Reference

(e3d5549d74e10ddf0a36276ce4331e2ea61cf4a4)

#include <QtQuick3D/private/qquick3dquaternionutils_p.h>
#include "qquick3dparticlesystem_p.h"
#include "qquick3dparticleemitter_p.h"
#include "qquick3dparticletrailemitter_p.h"
#include "qquick3dparticlemodelparticle_p.h"
#include "qquick3dparticleaffector_p.h"
#include <private/qqmldelegatemodel_p.h>
#include "qquick3dparticlerandomizer_p.h"
#include "qquick3dparticlespriteparticle_p.h"
#include "qquick3dparticlelineparticle_p.h"
#include "qquick3dparticlemodelblendparticle_p.h"
#include <QtQuick3DUtils/private/qquick3dprofiler_p.h>
#include <qtquick3d_tracepoints_p.h>
#include <cmath>
+ Include dependency graph for qquick3dparticlesystem.cpp:

Go to the source code of this file.

Functions

QT_BEGIN_NAMESPACE Q_TRACE_POINT (qtquick3d, QSSG_particleUpdate_entry)
 \qmltype ParticleSystem3D \inherits Node \inqmlmodule QtQuick3D.Particles3D
 
 Q_TRACE_POINT (qtquick3d, QSSG_particleUpdate_exit, int particleCount)
 
static QVector3D mix (const QVector3D &a, const QVector3D &b, float f)
 

Function Documentation

◆ mix()

static QVector3D mix ( const QVector3D & a,
const QVector3D & b,
float f )
static

Definition at line 640 of file qquick3dparticlesystem.cpp.

◆ Q_TRACE_POINT() [1/2]

QT_BEGIN_NAMESPACE Q_TRACE_POINT ( qtquick3d ,
QSSG_particleUpdate_entry  )

\qmltype ParticleSystem3D \inherits Node \inqmlmodule QtQuick3D.Particles3D

A system which includes particle, emitter, and affector types.

Since
6.2

This element is the root of the particle system, which handles the system timing and groups all the other related elements like particles, emitters, and affectors together. To group the system elements, they either need to be direct children of the ParticleSystem3D like this:

\qml, ParticleSystem3D { ParticleEmitter3D { ... } SpriteParticle3D { ... } } \endqml

Or if the system elements are not direct children, they need to use system property to point which ParticleSystem3D they belong to. Like this:

\qml ParticleSystem3D { id: psystem } ParticleEmitter3D { system: psystem ... } SpriteParticle3D { system: psystem ... } \endqml

◆ Q_TRACE_POINT() [2/2]

Q_TRACE_POINT ( qtquick3d ,
QSSG_particleUpdate_exit ,
int particleCount )