struct
ParticleInitializerInitialization parameters for particles.
The vectors define a range between a minimum and a maximum value
Public functions
- void setAmount(int amount)
- void setAmount(int minAmount, int maxAmount)
- void setLife(float life)
- void setLife(float minLife, float maxLife)
- void setPosition(float x, float y)
- void setPosition(float minX, float minY, float maxX, float maxY)
- void setPositionAndRadius(float x, float y, float radius)
- void setPosition(Vector2f pos)
- void setPosition(Vector2f minPos, Vector2f maxPos)
- void setPositionAndRadius(Vector2f pos, float radius)
- void setPositionInDisc(float radius)
- void setVelocity(float x, float y)
- void setVelocity(float minX, float minY, float maxX, float maxY)
- void setVelocityAndRadius(float x, float y, float radius)
- void setVelocityAndScale(float x, float y, float minScale, float maxScale)
- void setVelocityAndAngle(float x, float y, float angle)
- void setVelocity(Vector2f vel)
- void setVelocity(Vector2f minVel, Vector2f maxVel)
- void setVelocityAndRadius(Vector2f vel, float radius)
- void setVelocityAndScale(Vector2f vel, float minScale, float maxScale)
- void setVelocityAndAngle(Vector2f vel, float angle)
- void setRotation(float rot)
- void setRotation(float minRot, float maxRot)