Cairo-Dock 2.4.0~1
_CairoParticle Struct Reference

A particle of a particle system. More...

Data Fields

GLfloat x
 horizontal position, in fraction of the particle system's width, and relatively to the center of the particle system. So it is comprised between -1 and 1.
GLfloat y
 vertical position, in fraction of the particle system's height, and relatively to the bottom of the particle system. So it is comprised between 0 and 1.
GLfloat z
 depth of the particle, negative to be "behind". 0 means it is at the same depth as icons.
GLfloat vx
 horizontal speed
GLfloat vy
 vertical speed
GLfloat fWidth
 size
GLfloat color [4]
 color r,g,b,a
GLfloat fOscillation
 phase of the oscillations.
GLfloat fOmega
 oscillation variation speed.
GLfloat fSizeFactor
 current size factor
GLfloat fResizeSpeed
 size variation speed.
gint iLife
 current life time, decreased by 1 at each step.
gint iInitialLife
 total life time.

Detailed Description

A particle of a particle system.


The documentation for this struct was generated from the following file:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines