tModLoader v2024.11
A mod to make and play Terraria mods
VertexStrip Class Reference

Public Member Functions

void DrawTrail ()
 
void PrepareStrip (Vector2[] positions, float[] rotations, StripColorFunction colorFunction, StripHalfWidthFunction widthFunction, Vector2 offsetForAllPositions=default(Vector2), int? expectedVertexPairsAmount=null, bool includeBacksides=false)
 
void PrepareStripWithProceduralPadding (Vector2[] positions, float[] rotations, StripColorFunction colorFunction, StripHalfWidthFunction widthFunction, Vector2 offsetForAllPositions=default(Vector2), bool includeBacksides=false, bool tryStoppingOddBug=true)
 
delegate Color StripColorFunction (float progressOnStrip)
 
delegate float StripHalfWidthFunction (float progressOnStrip)