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>.
|
#include <qquick3dparticlerandomizer_p.h>
Public Types | |
enum | UserType { Default = 0 , WanderXPS , WanderYPS , WanderZPS , WanderXPV , WanderYPV , WanderZPV , WanderXAV , WanderYAV , WanderZAV , AttractorDurationV , AttractorPosVX , AttractorPosVY , AttractorPosVZ , Shape1 , Shape2 , Shape3 , Shape4 , SpriteAnimationI , DeterministicSeparator , LifeSpanV , ScaleV , ScaleEV , RotXV , RotYV , RotZV , RotXVV , RotYVV , RotZVV , ColorRV , ColorGV , ColorBV , ColorAV , TDirPosXV , TDirPosYV , TDirPosZV , TDirMagV , VDirXV , VDirYV , VDirZV , SpriteAnimationV } |
Public Member Functions | |
void | init (quint32 seed, int size=65536) |
void | setDeterministic (bool deterministic) |
float | get (int particleIndex, UserType user=Default) |
float | get () |
QRandomGenerator | generator () const |
Definition at line 53 of file qquick3dparticlerandomizer_p.h.
enum QPRand::UserType |
Definition at line 59 of file qquick3dparticlerandomizer_p.h.
|
inline |
Definition at line 132 of file qquick3dparticlerandomizer_p.h.
|
inline |
Definition at line 128 of file qquick3dparticlerandomizer_p.h.
References QList< T >::at().
Referenced by get().
Definition at line 119 of file qquick3dparticlerandomizer_p.h.
References QList< T >::at(), DeterministicSeparator, get(), and i.
Referenced by QQuick3DParticleEmitter::getEmitAmountFromDynamicBursts().
Definition at line 104 of file qquick3dparticlerandomizer_p.h.
References QList< T >::clear(), QRandomGenerator::generateDouble(), i, QList< T >::reserve(), seed, and QRandomGenerator::seed().
Referenced by QQuick3DParticleSystem::componentComplete(), and QQuick3DParticleSystem::setSeed().
|
inline |
Definition at line 113 of file qquick3dparticlerandomizer_p.h.
Referenced by QQuick3DParticleSystem::setUseRandomSeed().