![]() |
tModLoader v2024.07
A mod to make and play Terraria mods
|
Inherits ABasicParticle.
Public Member Functions | |
override void | Draw (ref ParticleRendererSettings settings, SpriteBatch spritebatch) |
override void | FetchFromPool () |
void | SetTypeInfo (int animationFramesAmount, int gameFramesPerAnimationFrame, float timeToLive) |
override void | Update (ref ParticleRendererSettings settings) |
![]() | |
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 | |
int | AnimationFramesAmount |
Color | ColorTint = Color.White |
float | FadeInNormalizedTime |
float | FadeOutNormalizedTime = 1f |
int | GameFramesPerAnimationFrame |
![]() | |
Vector2 | AccelerationPerFrame |
Vector2 | LocalPosition |
float | Rotation |
float | RotationAcceleration |
float | RotationVelocity |
Vector2 | Scale |
Vector2 | ScaleAcceleration |
Vector2 | ScaleVelocity |
Vector2 | Velocity |
Additional Inherited Members | |
![]() | |
Rectangle | _frame |
Vector2 | _origin |
Asset< Texture2D > | _texture |
![]() | |
bool | IsRestingInPool [get] |
bool | ShouldBeRemovedFromRenderer [get, protected set] |
![]() | |
bool | IsRestingInPool [get] |
![]() | |
bool | ShouldBeRemovedFromRenderer [get] |
|
virtual |
Implements ABasicParticle.
|
virtual |
Reimplemented from ABasicParticle.
|
virtual |
Reimplemented from ABasicParticle.