Untold Engine  Beta v0.0.16
docs
U4DEngine::PARTICLESYSTEMDATA Struct Reference

The PARTICLESYSTEMDATA structure holds data required by the particle system. More...

Public Attributes

U4DVector4n particleStartColor
 Start color of the particle during the start of emission.
 
U4DVector4n particleEndColor
 End color of the particle as it nears its life span.
 
U4DVector4n particleStartColorVariance
 Color variance for the start color.
 
U4DVector4n particleEndColorVariance
 Color variance for the end color.
 
U4DVector3n particlePositionVariance
 position variance of the particle
 
float particleEmitAngle
 emission angle
 
float particleEmitAngleVariance
 emission angle variance
 
float torusMajorRadius =15.0
 Distance from the center of the torus to the center of the tube.
 
float torusMinorRadius =5.0
 Radius of the torus tube.
 
float sphereRadius =2.0
 Radius of the sphere.
 
float particleLife =1.0
 life span of the article
 
float particleSpeed
 particle's speed
 
float particleSpeedVariance
 particle's speed variance
 
int numberOfParticlesPerEmission =1
 number of particles the emitter must emit per emission
 
int maxNumberOfParticles =50
 maximum number of particles the emitter can create
 
float emissionRate =1.0
 emission rate
 
float emitterDurationRate =1.0
 emitter duration rate
 
bool emitContinuously
 if set to true, the emitter will emit continuously
 
U4DVector3n gravity
 force of gravity acting on the particle
 
int particleSystemType =0
 particle emitter type. The emitter can emit the particles in a spherical, torus or linear fashion
 
bool enableNoise =false
 if set to true, the emitter will add noise to the particle's texture.
 
float noiseDetail =4.0
 Noise frequency. Possible values are 1,2,4,8,16,32.
 
bool enableAdditiveRendering =true
 if set to true, the particles color will be blended with the sorrounding colors
 
float particleSize =1.0
 particle size
 
float startParticleSize =1.0
 particle start size
 
float startParticleSizeVariance =0.0
 particle start size variance
 
float endParticleSize =1.0
 particle end size
 
float endParticleSizeVariance =0.0
 particle end size variance
 
float particleRadialAcceleration
 particle's radial acceleration
 
float particleRadialAccelerationVariance
 particle's radial acceleration variance
 
float particleTangentialAcceleration
 particle's tangential acceleration
 
float particleTangentialAccelerationVariance
 particle's tangential acceleration variance
 
float startParticleRotation
 particle's start rotation
 
float startParticleRotationVariance
 particle's start rotation variance
 
float endParticleRotation
 particle's end rotation
 
float endParticleRotationVariance
 particle's end rotation variance
 
int blendingFactorSource
 particle system's blending source factor
 
int blendingFactorDest
 particle system's blending destination factor
 

Detailed Description

The PARTICLESYSTEMDATA structure holds data required by the particle system.