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

Public Member Functions

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

Public Attributes

float FadeOutNormalizedTime = 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 _timeTolive
 
float _timeSinceSpawn
 
int _indexOfPlayerWhoSpawnedThis
 
int _packedShaderIndex
 

Detailed Description

Definition at line 8 of file FlameParticle.cs.


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