|
delegate void | OnChangeHullHandler (Vector2 position, Hull currentHull) |
|
override string | ToString () |
|
void | Init (ParticlePrefab prefab, Vector2 position, Vector2 speed, float rotation, Hull hullGuess=null, bool drawOnTop=false, float collisionIgnoreTimer=0f, float lifeTimeMultiplier=1f, Tuple< Vector2, Vector2 > tracerPoints=null) |
|
UpdateResult | Update (float deltaTime) |
|
void | UpdateDrawPos () |
|
void | Draw (SpriteBatch spriteBatch) |
|
Definition at line 10 of file Particle.cs.
◆ UpdateResult
◆ Draw()
void Barotrauma.Particles.Particle.Draw |
( |
SpriteBatch |
spriteBatch | ) |
|
◆ Init()
void Barotrauma.Particles.Particle.Init |
( |
ParticlePrefab |
prefab, |
|
|
Vector2 |
position, |
|
|
Vector2 |
speed, |
|
|
float |
rotation, |
|
|
Hull |
hullGuess = null , |
|
|
bool |
drawOnTop = false , |
|
|
float |
collisionIgnoreTimer = 0f , |
|
|
float |
lifeTimeMultiplier = 1f , |
|
|
Tuple< Vector2, Vector2 > |
tracerPoints = null |
|
) |
| |
◆ OnChangeHullHandler()
delegate void Barotrauma.Particles.Particle.OnChangeHullHandler |
( |
Vector2 |
position, |
|
|
Hull |
currentHull |
|
) |
| |
◆ ToString()
override string Barotrauma.Particles.Particle.ToString |
( |
| ) |
|
◆ Update()
UpdateResult Barotrauma.Particles.Particle.Update |
( |
float |
deltaTime | ) |
|
◆ UpdateDrawPos()
void Barotrauma.Particles.Particle.UpdateDrawPos |
( |
| ) |
|
◆ ColorMultiplier
Vector4 Barotrauma.Particles.Particle.ColorMultiplier |
◆ HighQualityCollisionDetection
bool Barotrauma.Particles.Particle.HighQualityCollisionDetection |
◆ OnChangeHull
◆ OnCollision
◆ BlendState
◆ CurrentHull
Hull Barotrauma.Particles.Particle.CurrentHull |
|
get |
◆ DrawOnTop
bool Barotrauma.Particles.Particle.DrawOnTop |
|
get |
◆ DrawTarget
◆ Prefab
◆ Size
Vector2 Barotrauma.Particles.Particle.Size |
|
getset |
◆ StartDelay
float Barotrauma.Particles.Particle.StartDelay |
|
getset |