Terraria v1.4.4.9
Terraria source code documentation
All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events Macros
Terraria.Graphics.Renderers.FadingParticle Class Reference

Public Member Functions

override void FetchFromPool ()
 
void SetTypeInfo (float timeToLive)
 
override void Update (ref ParticleRendererSettings settings)
 
override void Draw (ref ParticleRendererSettings settings, SpriteBatch spritebatch)
 
virtual void SetBasicInfo (Asset< Texture2D > textureAsset, Rectangle? frame, Vector2 initialVelocity, Vector2 initialLocalPosition)
 
void RestInPool ()
 

Public Attributes

float FadeInNormalizedTime
 
float FadeOutNormalizedTime = 1f
 
Color ColorTint = Color.White
 
Vector2 AccelerationPerFrame
 
Vector2 Velocity
 
Vector2 LocalPosition
 
float Rotation
 
float RotationVelocity
 
float RotationAcceleration
 
Vector2 Scale
 
Vector2 ScaleVelocity
 
Vector2 ScaleAcceleration
 

Protected Attributes

Asset< Texture2D_texture
 
Rectangle _frame
 
Vector2 _origin
 

Properties

bool ShouldBeRemovedFromRenderer [get, protected set]
 
bool IsRestingInPool [get, private set]
 

Private Attributes

float _timeTolive
 
float _timeSinceSpawn
 

Detailed Description

Definition at line 6 of file FadingParticle.cs.


The documentation for this class was generated from the following file: