Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
Terraria.Graphics.Renderers.GasParticle 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.25f
 
float FadeOutNormalizedTime = 0.75f
 
float TimeToLive = 80f
 
Color ColorTint
 
float Opacity
 
float AdditiveAmount = 1f
 
float FadeInEnd = 20f
 
float FadeOutStart = 30f
 
float FadeOutEnd = 45f
 
float SlowdownScalar = 0.95f
 
Color LightColorTint
 
float InitialScale = 1f
 
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
 
int _internalIndentifier
 

Detailed Description

Definition at line 8 of file GasParticle.cs.


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