|
Terraria v1.4.4.9
Terraria source code documentation
|
Public Member Functions | |
| EOSSkyEntity (Player player, FastRandom random) | |
| override Color | GetColor (Color backgroundColor) |
| override void | UpdateVelocity (int frameCount) |
| override void | Update (int frameCount) |
| void | StartFadingOut (int currentFrameCount) |
| override 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< Texture2D > | Texture |
| 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 | BeginZigZag (ref FastRandom random, VirtualCamera camera, int direction) |
| void | BeginChasingPlayer (ref FastRandom random, VirtualCamera camera) |
| void | ZigzagMove (int frameCount) |
| void | ChasePlayerTop (int frameCount) |
| void | UpdateOpacity (int frameCount) |
| bool | IsMovementDone (int frameCount) |
Private Attributes | |
| int | _state |
| int | _direction |
| float | _waviness |
Static Private Attributes | |
| const int | STATE_ZIGZAG = 1 |
| const int | STATE_GOOVERPLAYER = 2 |
Definition at line 1200 of file AmbientSky.cs.