tModLoader v2024.09
A mod to make and play Terraria mods
CreativeSacrificeParticle Class Reference

Inherits IParticle.

Public Member Functions

 CreativeSacrificeParticle (Asset< Texture2D > textureAsset, Rectangle? frame, Vector2 initialVelocity, Vector2 initialLocalPosition)
 
void Draw (ref ParticleRendererSettings settings, SpriteBatch spritebatch)
 
void Update (ref ParticleRendererSettings settings)
 
void Draw (ref ParticleRendererSettings settings, SpriteBatch spritebatch)
 
void Update (ref ParticleRendererSettings settings)
 

Public Attributes

Vector2 AccelerationPerFrame
 
Vector2 LocalPosition
 
float ScaleOffsetPerFrame
 
float StopWhenBelowXScale
 
Vector2 Velocity
 

Properties

bool ShouldBeRemovedFromRenderer [get]
 
- Properties inherited from IParticle
bool ShouldBeRemovedFromRenderer [get]
 

Member Function Documentation

◆ Draw()

void CreativeSacrificeParticle.Draw ( ref ParticleRendererSettings  settings,
SpriteBatch  spritebatch 
)

Implements IParticle.

◆ Update()

void CreativeSacrificeParticle.Update ( ref ParticleRendererSettings  settings)

Implements IParticle.

Property Documentation

◆ ShouldBeRemovedFromRenderer

bool CreativeSacrificeParticle.ShouldBeRemovedFromRenderer
get

Implements IParticle.