wavelength 1.0.0
Loading...
Searching...
No Matches
particlearm.h
Go to the documentation of this file.
1#pragma once
2
5
13public:
21
31 void Init(RndParticleSys *pSys, RndTransformable *pTrans, float fScale);
32
40 void SetScale(float fScale);
41
50 void Scale(RndParticleSys *pSys, float fScale);
51
58 void Draw();
59
62 return mSys;
63 }
64
65private:
66 RndParticleSys *mSys;
67 RndTransformable *mTrans;
68 float mInvScale;
69};
Particle system that hangs from a transform and is drawn as a reflection of it.
Definition particlearm.h:12
RndParticleSys * GetSys() const
Definition particlearm.h:61
void SetScale(float fScale)
Record the reciprocal of a scale and scale the particle system by it.
void Draw()
Draw the particle system through the current camera.
~ParticleArm()
Destroy the arm.
void Scale(RndParticleSys *pSys, float fScale)
Scale the size, the speed, the emission box, and the transform of a particle system.
void Init(RndParticleSys *pSys, RndTransformable *pTrans, float fScale)
Attach a particle system to a transform and scale it.
Emitter that spawns, moves, and fades a population of particles.
Definition rndparticlesys.h:69
Mix-in for an object with a local transform and a world transform derived from its parent's.
Definition rndtransformable.h:17