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

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

Public Member Functions

 SetFrame (int frameX, int frameY, int paddingX=2, int paddingY=2)
 
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]