Cogito, ergo sum
Used in Emitters to spawn particle sprites. This all-around ParticleEmitter can be used to create smoke, fire, water falls, dust clouds and many other effects.
Some useful combinations of settings can be found in our ParticleEmitter cookbook.
The SpriteEmitter class adds only one group to the ParticleEmitter properties.
- vector ProjectionNormal
- Normal vector of the projection plane used when UseDirectionAs is set to PTDU_Normal, PTDU_UpAndNormal or PTDU_RightAndNormal.
- EParticleDirectionUsage UseDirectionAs
- Here you can specify how the 2D image should be displayed. See EParticleDirectionUsage enum below for details.
- Always rotates the sprite towards the viewer. The sprites will always look the same, no matter what direction they are viewed from. Size -> UniformSize will be forced to True, so only the X component of Size -> SizeScale can be used to scale the sprites.
- Also rotates the projection plane towards the viewer, but in a special way, so the particle's movement direction will always be in the projection plane.
- Like PTDU_Up, but the particle texture is rotated 90°.
- The particle's particle's movement direction is used as the projection plane's normal vector.
- The ProjectionNormal is used as the projection plane's normal.
- This is similar to PTDU_Normal, but the particles can only be rotated around the axis given by the particles' movement direction.
- Same as PTDU_UpAndNormal, but the texture is rotated 90°.
- Like PTDU_None, but allowes you to turn off Size -> UniformSize so the sprites can have different scaling values for X and Y.