Provides information of the particle system. More...
Import Statement: | import QtQuick3D.Particles3D |
Since: | Qt 6.2 |
Inherits: |
The ParticleSystem3DLogging
type provides information about particle system statistics. This element cannot be created directly, but can be retrieved from a ParticleSystem3D.
loggingInterval : int
This property defines in milliseconds how often the logging data is updated. Longer update time increases the accuracy of time and timeAverage, while shorter update times keep the data more up to date.
The default value is 1000
.
[read-only] particlesMax : int
This property holds the maximum amount of particles in this system. Maximum amount is the sum of system particles maxAmount properties.
[read-only] particlesUsed : int
This property holds the amount of particles currently in use in this system. This value should be close to particlesMax at some point of particle system animation. If it is much smaller, consider decreasing maxAmount values. If it reaches particlesMax, particles are used effectively but it can also mean that particles are reused before they reach the end of their lifeSpan. In this case, consider increasing the maxAmount values.
[read-only] time : real
This property holds the time in milliseconds used for emitting and animating particles in each frame.
[read-only] timeAverage : real
This property holds the average time in milliseconds used for emitting and animating particles in each frame. Average is calculated from the past 100 logging updates. So when loggingInterval is 1000, this represents an average time in past 100 seconds. This can be used for measuring the performance of current particle system.
[read-only] updates : int
This property holds the amount of particle system updates since the last logging. When loggingInterval is 1000 (default), this can be considered to match the fps.
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-6.2/qml-qtquick3d-particles3d-particlesystem3dlogging.html