tModLoader v2022.09
A mod to make and play Terraria mods
|
Inherits Terraria.Graphics.Renderers.IPooledParticle, and Terraria.Graphics.Renderers.IParticle.
Inherited by Terraria.Graphics.Renderers.FadingParticle, Terraria.Graphics.Renderers.FlameParticle, Terraria.Graphics.Renderers.PrettySparkleParticle, and Terraria.Graphics.Renderers.RandomizedFrameParticle.
Public Member Functions | |
abstract void | Draw (ref ParticleRendererSettings settings, SpriteBatch spritebatch) |
virtual void | FetchFromPool () |
void | RestInPool () |
virtual void | SetBasicInfo (Asset< Texture2D > textureAsset, Rectangle? frame, Vector2 initialVelocity, Vector2 initialLocalPosition) |
virtual void | Update (ref ParticleRendererSettings settings) |
void | FetchFromPool () |
void | RestInPool () |
void | Draw (ref ParticleRendererSettings settings, SpriteBatch spritebatch) |
void | Update (ref ParticleRendererSettings settings) |
Protected Attributes | |
Rectangle | _frame |
Vector2 | _origin |
Asset< Texture2D > | _texture |
Properties | |
bool | IsRestingInPool [get] |
bool | ShouldBeRemovedFromRenderer [get, protected set] |
Properties inherited from Terraria.Graphics.Renderers.IPooledParticle | |
bool | IsRestingInPool [get] |
Properties inherited from Terraria.Graphics.Renderers.IParticle | |
bool | ShouldBeRemovedFromRenderer [get] |
|
pure virtual |
Implements Terraria.Graphics.Renderers.IParticle.
|
virtual |
Implements Terraria.Graphics.Renderers.IPooledParticle.
void Terraria.Graphics.Renderers.ABasicParticle.RestInPool | ( | ) |
Implements Terraria.Graphics.Renderers.IPooledParticle.
|
virtual |
Implements Terraria.Graphics.Renderers.IParticle.
|
get |
Implements Terraria.Graphics.Renderers.IPooledParticle.
|
getprotected set |
Implements Terraria.Graphics.Renderers.IParticle.