Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
Terraria.GameContent.Skies.AmbientSky.PixiePosseSkyEntity Class Reference

Public Member Functions

 PixiePosseSkyEntity (Player player, FastRandom random)
 
override void UpdateVelocity (int frameCount)
 
override void Update (int frameCount)
 
override void Draw (SpriteBatch spriteBatch, float depthScale, float minDepth, float maxDepth)
 
override Color GetColor (Color backgroundColor)
 
void StartFadingOut (int currentFrameCount)
 
override Vector2 GetDrawPosition ()
 
void CommonDraw (SpriteBatch spriteBatch, float depthScale, float minDepth, float maxDepth)
 

Public Attributes

Vector2 Position
 
Asset< Texture2DTexture
 
SpriteFrame Frame
 
float Depth
 
SpriteEffects Effects
 
bool IsActive = true
 
float Rotation
 

Protected Member Functions

void NextFrame ()
 
void SetPositionInWorldBasedOnScreenSpace (Vector2 actualWorldSpace)
 

Protected Attributes

int LifeTime
 
Vector2 Velocity
 
int FramingSpeed
 
int TimeEntitySpawnedIn
 
float Opacity
 
float BrightnessLerper
 
float FinalOpacityMultiplier
 
float OpacityNormalizedTimeToFadeIn
 
float OpacityNormalizedTimeToFadeOut
 
int FrameOffset
 

Package Functions

Vector2 GetDrawPositionByDepth ()
 
float Helper_GetOpacityWithAccountingForOceanWaterLine ()
 

Properties

Rectangle SourceRectangle [get]
 

Private Member Functions

void UpdateOpacity (int frameCount)
 
bool IsMovementDone (int frameCount)
 

Private Attributes

int pixieType = 1
 

Detailed Description

Definition at line 387 of file AmbientSky.cs.


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