tModLoader v2023.01
A mod to make and play Terraria mods
Terraria.Graphics.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)