Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QQuickParticleData Class Reference

#include <qquickparticlesystem_p.h>

+ Collaboration diagram for QQuickParticleData:

Public Member Functions

 QQuickParticleData ()
 
 ~QQuickParticleData ()
 
 QQuickParticleData (const QQuickParticleData &other)
 
QQuickParticleDataoperator= (const QQuickParticleData &other)
 
void setInstantaneousAX (float ax, QQuickParticleSystem *particleSystem)
 
void setInstantaneousVX (float vx, QQuickParticleSystem *particleSystem)
 
void setInstantaneousX (float x, QQuickParticleSystem *particleSystem)
 
void setInstantaneousAY (float ay, QQuickParticleSystem *particleSystem)
 
void setInstantaneousVY (float vy, QQuickParticleSystem *particleSystem)
 
void setInstantaneousY (float y, QQuickParticleSystem *particleSystem)
 
float curX (QQuickParticleSystem *particleSystem) const
 
float curVX (QQuickParticleSystem *particleSystem) const
 
float curAX () const
 
float curAX (QQuickParticleSystem *) const
 
float curY (QQuickParticleSystem *particleSystem) const
 
float curVY (QQuickParticleSystem *particleSystem) const
 
float curAY () const
 
float curAY (QQuickParticleSystem *) const
 
void debugDump (QQuickParticleSystem *particleSystem) const
 
bool stillAlive (QQuickParticleSystem *particleSystem) const
 
bool alive (QQuickParticleSystem *particleSystem) const
 
float lifeLeft (QQuickParticleSystem *particleSystem) const
 
float curSize (QQuickParticleSystem *particleSystem) const
 
void clone (const QQuickParticleData &other)
 
QV4::ReturnedValue v4Value (QQuickParticleSystem *particleSystem)
 
void extendLife (float time, QQuickParticleSystem *particleSystem)
 

Static Public Member Functions

static constexpr float EPSILON () noexcept
 

Public Attributes

int index
 
int systemIndex
 
float x
 
float y
 
float t
 
float lifeSpan
 
float size
 
float endSize
 
float vx
 
float vy
 
float ax
 
float ay
 
Color4ub color
 
float xx
 
float xy
 
float yx
 
float yy
 
float rotation
 
float rotationVelocity
 
uchar autoRotate
 
float animIdx
 
float frameDuration
 
float frameAt
 
float frameCount
 
float animT
 
float animX
 
float animY
 
float animWidth
 
float animHeight
 
QQuickParticleGroupData::ID groupId
 
QQuickImageParticlecolorOwner
 
QQuickImageParticlerotationOwner
 
QQuickImageParticledeformationOwner
 
QQuickImageParticleanimationOwner
 
QQuickItemdelegate
 
float update
 

Detailed Description

Definition at line 211 of file qquickparticlesystem_p.h.

Constructor & Destructor Documentation

◆ QQuickParticleData() [1/2]

QQuickParticleData::QQuickParticleData ( )

◆ ~QQuickParticleData()

QQuickParticleData::~QQuickParticleData ( )

Definition at line 430 of file qquickparticlesystem.cpp.

◆ QQuickParticleData() [2/2]

QQuickParticleData::QQuickParticleData ( const QQuickParticleData other)

Definition at line 435 of file qquickparticlesystem.cpp.

References other().

+ Here is the call graph for this function:

Member Function Documentation

◆ alive()

bool QQuickParticleData::alive ( QQuickParticleSystem particleSystem) const
inline

Definition at line 557 of file qquickparticlesystem_p.h.

References EPSILON(), lifeSpan, and QQuickParticleSystem::timeInt.

+ Here is the call graph for this function:

◆ clone()

void QQuickParticleData::clone ( const QQuickParticleData other)

Definition at line 453 of file qquickparticlesystem.cpp.

References animationOwner, animHeight, animIdx, animT, animWidth, animX, animY, autoRotate, ax, ay, colorOwner, deformationOwner, delegate, endSize, frameCount, frameDuration, lifeSpan, other(), rotation, rotationOwner, rotationVelocity, vx, vy, xx, xy, yx, and yy.

Referenced by QQuickParticleSystem::moveGroups(), and operator=().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ curAX() [1/2]

float QQuickParticleData::curAX ( ) const
inline

Definition at line 239 of file qquickparticlesystem_p.h.

◆ curAX() [2/2]

float QQuickParticleData::curAX ( QQuickParticleSystem ) const
inline

Definition at line 240 of file qquickparticlesystem_p.h.

◆ curAY() [1/2]

float QQuickParticleData::curAY ( ) const
inline

Definition at line 243 of file qquickparticlesystem_p.h.

◆ curAY() [2/2]

float QQuickParticleData::curAY ( QQuickParticleSystem ) const
inline

Definition at line 244 of file qquickparticlesystem_p.h.

◆ curSize()

float QQuickParticleData::curSize ( QQuickParticleSystem particleSystem) const
inline

Definition at line 572 of file qquickparticlesystem_p.h.

References endSize, lifeLeft(), lifeSpan, and size.

+ Here is the call graph for this function:

◆ curVX()

float QQuickParticleData::curVX ( QQuickParticleSystem particleSystem) const
inline

Definition at line 531 of file qquickparticlesystem_p.h.

References ax, QQuickParticleSystem::timeInt, and vx.

Referenced by extendLife().

+ Here is the caller graph for this function:

◆ curVY()

float QQuickParticleData::curVY ( QQuickParticleSystem particleSystem) const
inline

Definition at line 544 of file qquickparticlesystem_p.h.

References ay, QQuickParticleSystem::timeInt, and vy.

Referenced by extendLife().

+ Here is the caller graph for this function:

◆ curX()

float QQuickParticleData::curX ( QQuickParticleSystem particleSystem) const
inline

Definition at line 524 of file qquickparticlesystem_p.h.

References ax, t, QQuickParticleSystem::timeInt, and vx.

Referenced by extendLife().

+ Here is the caller graph for this function:

◆ curY()

float QQuickParticleData::curY ( QQuickParticleSystem particleSystem) const
inline

Definition at line 537 of file qquickparticlesystem_p.h.

References ay, t, QQuickParticleSystem::timeInt, and vy.

Referenced by extendLife().

+ Here is the caller graph for this function:

◆ debugDump()

void QQuickParticleData::debugDump ( QQuickParticleSystem particleSystem) const

Definition at line 496 of file qquickparticlesystem.cpp.

References ax, ay, endSize, groupId, lifeSpan, qDebug, stillAlive(), systemIndex, QQuickParticleSystem::timeInt, vx, and vy.

+ Here is the call graph for this function:

◆ EPSILON()

static constexpr float QQuickParticleData::EPSILON ( )
inlinestaticconstexprnoexcept

Definition at line 306 of file qquickparticlesystem_p.h.

Referenced by alive(), and stillAlive().

+ Here is the caller graph for this function:

◆ extendLife()

void QQuickParticleData::extendLife ( float  time,
QQuickParticleSystem particleSystem 
)

Definition at line 506 of file qquickparticlesystem.cpp.

References animT, ax, ay, curVX(), curVY(), curX(), curY(), elapsed(), time, QQuickParticleSystem::timeInt, vx, and vy.

+ Here is the call graph for this function:

◆ lifeLeft()

float QQuickParticleData::lifeLeft ( QQuickParticleSystem particleSystem) const
inline

Definition at line 565 of file qquickparticlesystem_p.h.

References lifeSpan, and QQuickParticleSystem::timeInt.

Referenced by curSize().

+ Here is the caller graph for this function:

◆ operator=()

QQuickParticleData & QQuickParticleData::operator= ( const QQuickParticleData other)

Definition at line 440 of file qquickparticlesystem.cpp.

References clone(), groupId, other(), and systemIndex.

+ Here is the call graph for this function:

◆ setInstantaneousAX()

void QQuickParticleData::setInstantaneousAX ( float  ax,
QQuickParticleSystem particleSystem 
)
inline

Definition at line 460 of file qquickparticlesystem_p.h.

References ax, t, QQuickParticleSystem::timeInt, vx, and x.

◆ setInstantaneousAY()

void QQuickParticleData::setInstantaneousAY ( float  ay,
QQuickParticleSystem particleSystem 
)
inline

Definition at line 492 of file qquickparticlesystem_p.h.

References ay, t, QQuickParticleSystem::timeInt, vy, and y.

◆ setInstantaneousVX()

void QQuickParticleData::setInstantaneousVX ( float  vx,
QQuickParticleSystem particleSystem 
)
inline

Definition at line 473 of file qquickparticlesystem_p.h.

References ax, t, QQuickParticleSystem::timeInt, vx, and x.

◆ setInstantaneousVY()

void QQuickParticleData::setInstantaneousVY ( float  vy,
QQuickParticleSystem particleSystem 
)
inline

Definition at line 505 of file qquickparticlesystem_p.h.

References ay, t, QQuickParticleSystem::timeInt, vy, and y.

◆ setInstantaneousX()

void QQuickParticleData::setInstantaneousX ( float  x,
QQuickParticleSystem particleSystem 
)
inline

Definition at line 485 of file qquickparticlesystem_p.h.

References ax, t, QQuickParticleSystem::timeInt, and vx.

◆ setInstantaneousY()

void QQuickParticleData::setInstantaneousY ( float  y,
QQuickParticleSystem particleSystem 
)
inline

Definition at line 517 of file qquickparticlesystem_p.h.

References ay, t, QQuickParticleSystem::timeInt, and vy.

◆ stillAlive()

bool QQuickParticleData::stillAlive ( QQuickParticleSystem particleSystem) const
inline

Definition at line 550 of file qquickparticlesystem_p.h.

References EPSILON(), lifeSpan, and QQuickParticleSystem::timeInt.

Referenced by debugDump().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ v4Value()

QV4::ReturnedValue QQuickParticleData::v4Value ( QQuickParticleSystem particleSystem)

Definition at line 489 of file qquickparticlesystem.cpp.

References qmlEngine(), and QQuickV4ParticleData::v4Value().

+ Here is the call graph for this function:

Member Data Documentation

◆ animationOwner

QQuickImageParticle* QQuickParticleData::animationOwner

Definition at line 289 of file qquickparticlesystem_p.h.

Referenced by clone(), and QQuickImageParticle::initialize().

◆ animHeight

float QQuickParticleData::animHeight

◆ animIdx

float QQuickParticleData::animIdx

◆ animT

float QQuickParticleData::animT

◆ animWidth

float QQuickParticleData::animWidth

◆ animX

float QQuickParticleData::animX

◆ animY

float QQuickParticleData::animY

◆ autoRotate

uchar QQuickParticleData::autoRotate

◆ ax

◆ ay

◆ color

Color4ub QQuickParticleData::color

◆ colorOwner

QQuickImageParticle* QQuickParticleData::colorOwner

◆ deformationOwner

QQuickImageParticle* QQuickParticleData::deformationOwner

◆ delegate

QQuickItem* QQuickParticleData::delegate

Definition at line 292 of file qquickparticlesystem_p.h.

Referenced by QQuickParticleData(), and clone().

◆ endSize

◆ frameAt

float QQuickParticleData::frameAt

◆ frameCount

float QQuickParticleData::frameCount

◆ frameDuration

float QQuickParticleData::frameDuration

◆ groupId

◆ index

int QQuickParticleData::index

◆ lifeSpan

◆ rotation

float QQuickParticleData::rotation

◆ rotationOwner

QQuickImageParticle* QQuickParticleData::rotationOwner

◆ rotationVelocity

float QQuickParticleData::rotationVelocity

◆ size

float QQuickParticleData::size

◆ systemIndex

int QQuickParticleData::systemIndex

Definition at line 247 of file qquickparticlesystem_p.h.

Referenced by debugDump(), and operator=().

◆ t

◆ update

float QQuickParticleData::update

Definition at line 294 of file qquickparticlesystem_p.h.

◆ vx

◆ vy

◆ x

◆ xx

float QQuickParticleData::xx

◆ xy

float QQuickParticleData::xy

◆ y

◆ yx

float QQuickParticleData::yx

◆ yy

float QQuickParticleData::yy

The documentation for this class was generated from the following files: