Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
Terraria.GameContent.Skies.AmbientSky.SkyEntity Class Referenceabstract

Public Member Functions

Color GetColor (Color backgroundColor)
 
void Update (int frameCount)
 
Vector2 GetDrawPosition ()
 
virtual void Draw (SpriteBatch spriteBatch, float depthScale, float minDepth, float maxDepth)
 
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)
 

Package Functions

Vector2 GetDrawPositionByDepth ()
 
float Helper_GetOpacityWithAccountingForOceanWaterLine ()
 

Properties

Rectangle SourceRectangle [get]
 

Detailed Description

Definition at line 18 of file AmbientSky.cs.


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