Changeset 5671 in orxonox.OLD for trunk/src/lib/particles/particle_emitter.cc
- Timestamp:
- Nov 21, 2005, 3:50:41 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/particles/particle_emitter.cc
r5653 r5671 95 95 static_cast<PNode*>(this)->loadParams(root); 96 96 97 LoadParam NEW(root, "type", this, ParticleEmitter, setType)97 LoadParam(root, "type", this, ParticleEmitter, setType) 98 98 .describe("What type of emitter is this [dot, plane, cube, sphere]."); 99 99 100 LoadParam NEW(root, "size", this, ParticleEmitter, setSize)100 LoadParam(root, "size", this, ParticleEmitter, setSize) 101 101 .describe("How big the emitter is (no effect on dot-emitters)"); 102 102 103 LoadParam NEW(root, "rate", this, ParticleEmitter, setEmissionRate)103 LoadParam(root, "rate", this, ParticleEmitter, setEmissionRate) 104 104 .describe("How many particles should be emittet from this emitter"); 105 105 106 LoadParam NEW(root, "inherit-speed", this, ParticleEmitter, setInheritSpeed)106 LoadParam(root, "inherit-speed", this, ParticleEmitter, setInheritSpeed) 107 107 .describe("the extent, the speed of the emitter has on the particles"); 108 108 109 LoadParam NEW(root, "emission-velocity", this, ParticleEmitter, setEmissionVelocity)109 LoadParam(root, "emission-velocity", this, ParticleEmitter, setEmissionVelocity) 110 110 .describe("How fast the particles are emittet (their initial speed)"); 111 111 112 LoadParam NEW(root, "emission-momentum", this, ParticleEmitter, setEmissionMomentum)112 LoadParam(root, "emission-momentum", this, ParticleEmitter, setEmissionMomentum) 113 113 .describe("How fast the particles rotation is at emissiontime (their initial momentum)"); 114 114 115 LoadParam NEW(root, "spread", this, ParticleEmitter, setSpread)115 LoadParam(root, "spread", this, ParticleEmitter, setSpread) 116 116 .describe("The angle the particles are emitted from (angle, deviation)"); 117 117 118 118 119 LoadParam NEW(root, "emission-direction", this, ParticleEmitter, setDirection);119 LoadParam(root, "emission-direction", this, ParticleEmitter, setDirection); 120 120 } 121 121
Note: See TracChangeset
for help on using the changeset viewer.