tModLoader v2022.09
A mod to make and play Terraria mods
Terraria.Graphics.Renderers.PrettySparkleParticle Class Reference

Inherits Terraria.Graphics.Renderers.ABasicParticle.

Public Member Functions

override void Draw (ref ParticleRendererSettings settings, SpriteBatch spritebatch)
override void FetchFromPool ()
override void Update (ref ParticleRendererSettings settings)
- Public Member Functions inherited from Terraria.Graphics.Renderers.ABasicParticle
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)

Public Attributes

Color ColorTint
float Opacity
- Public Attributes inherited from Terraria.Graphics.Renderers.ABasicParticle
Vector2 AccelerationPerFrame
Vector2 LocalPosition
float Rotation
float RotationAcceleration
float RotationVelocity
Vector2 Scale
Vector2 ScaleAcceleration
Vector2 ScaleVelocity
Vector2 Velocity

Additional Inherited Members

- Protected Attributes inherited from Terraria.Graphics.Renderers.ABasicParticle
Rectangle _frame
Vector2 _origin
Asset< Texture2D > _texture
- Properties inherited from Terraria.Graphics.Renderers.ABasicParticle
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]

Member Function Documentation

◆ Draw()

override void Terraria.Graphics.Renderers.PrettySparkleParticle.Draw ( ref ParticleRendererSettings  settings,
SpriteBatch  spritebatch 

◆ FetchFromPool()

override void Terraria.Graphics.Renderers.PrettySparkleParticle.FetchFromPool ( )

◆ Update()

override void Terraria.Graphics.Renderers.PrettySparkleParticle.Update ( ref ParticleRendererSettings  settings)