|
| ParticleEmitter (ContentXElement element) |
|
| ParticleEmitter (ParticleEmitterPrefab prefab) |
|
void | Emit (float deltaTime, Vector2 position, Hull? hullGuess=null, float angle=0.0f, float particleRotation=0.0f, float velocityMultiplier=1.0f, float sizeMultiplier=1.0f, float amountMultiplier=1.0f, Color? colorMultiplier=null, ParticlePrefab? overrideParticle=null, bool mirrorAngle=false, Tuple< Vector2, Vector2 >? tracerPoints=null) |
|
Rectangle | CalculateParticleBounds (Vector2 startPosition) |
|
Definition at line 133 of file ParticleEmitter.cs.
◆ ParticleEmitter() [1/2]
Barotrauma.Particles.ParticleEmitter.ParticleEmitter |
( |
ContentXElement |
element | ) |
|
◆ ParticleEmitter() [2/2]
◆ CalculateParticleBounds()
Rectangle Barotrauma.Particles.ParticleEmitter.CalculateParticleBounds |
( |
Vector2 |
startPosition | ) |
|
◆ Emit()
void Barotrauma.Particles.ParticleEmitter.Emit |
( |
float |
deltaTime, |
|
|
Vector2 |
position, |
|
|
Hull? |
hullGuess = null , |
|
|
float |
angle = 0.0f , |
|
|
float |
particleRotation = 0.0f , |
|
|
float |
velocityMultiplier = 1.0f , |
|
|
float |
sizeMultiplier = 1.0f , |
|
|
float |
amountMultiplier = 1.0f , |
|
|
Color? |
colorMultiplier = null , |
|
|
ParticlePrefab? |
overrideParticle = null , |
|
|
bool |
mirrorAngle = false , |
|
|
Tuple< Vector2, Vector2 >? |
tracerPoints = null |
|
) |
| |
◆ Prefab