Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
Terraria.Graphics.Renderers.PrettySparkleParticle Class Reference

Public Member Functions

override void FetchFromPool ()
 
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 = 0.05f
 
float FadeOutNormalizedTime = 0.9f
 
float TimeToLive = 60f
 
Color ColorTint
 
float Opacity
 
float AdditiveAmount = 1f
 
float FadeInEnd = 20f
 
float FadeOutStart = 30f
 
float FadeOutEnd = 45f
 
bool DrawHorizontalAxis = true
 
bool DrawVerticalAxis = true
 
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 _timeSinceSpawn
 

Detailed Description

Definition at line 8 of file PrettySparkleParticle.cs.


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