tModLoader v2024.10
A mod to make and play Terraria mods
Segments.SpriteSegment.MaskedFadeEffect Class Reference

Inherits Segments.SpriteSegment.IShaderEffect.

Public Member Functions

 MaskedFadeEffect (GetMatrixAction fetchMatrixMethod=null, string shaderKey="MaskedFade", int verticalFrameCount=1, int verticalFrameWait=1)
 
void AfterDrawing (ref GameAnimationSegment info, ref DrawData drawData)
 
void BeforeDrawing (ref GameAnimationSegment info, ref DrawData drawData)
 
delegate Matrix GetMatrixAction ()
 
MaskedFadeEffect WithPanX (Panning panning)
 
MaskedFadeEffect WithPanY (Panning panning)
 
void AfterDrawing (ref GameAnimationSegment info, ref DrawData drawData)
 
void BeforeDrawing (ref GameAnimationSegment info, ref DrawData drawData)
 

Member Function Documentation

◆ AfterDrawing()

void Segments.SpriteSegment.MaskedFadeEffect.AfterDrawing ( ref GameAnimationSegment  info,
ref DrawData  drawData 
)

◆ BeforeDrawing()

void Segments.SpriteSegment.MaskedFadeEffect.BeforeDrawing ( ref GameAnimationSegment  info,
ref DrawData  drawData 
)