tModLoader v2024.11
A mod to make and play Terraria mods
Actions.Sprites.Fade Class Reference

Inherits Actions.Sprites.ISpriteAction, and IAnimationSegmentAction< Segments.LooseSprite >.

Public Member Functions

 Fade (float opacityTarget)
 
 Fade (float opacityTarget, int duration)
 
void ApplyTo (Segments.LooseSprite obj, float localTimeForObj)
 
void BindTo (Segments.LooseSprite obj)
 
void SetDelay (float delay)
 
- Public Member Functions inherited from IAnimationSegmentAction< Segments.LooseSprite >
void ApplyTo (T obj, float localTimeForObj)
 
void BindTo (T obj)
 
void SetDelay (float delay)
 

Properties

int ExpectedLengthOfActionInFrames [get]
 
- Properties inherited from IAnimationSegmentAction< Segments.LooseSprite >
int ExpectedLengthOfActionInFrames [get]