Terraria v1.4.4.9
Terraria source code documentation
|
Classes | |
struct | CustomVertexInfo |
Public Member Functions | |
delegate Color | StripColorFunction (float progressOnStrip) |
delegate float | StripHalfWidthFunction (float progressOnStrip) |
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) |
void | DrawTrail () |
Private Member Functions | |
void | PrepareIndices (int vertexPaidsAdded, bool includeBacksides) |
void | AddVertex (StripColorFunction colorFunction, StripHalfWidthFunction widthFunction, Vector2 pos, float rot, int indexOnVertexArray, float progressOnStrip) |
Private Attributes | |
CustomVertexInfo[] | _vertices = new CustomVertexInfo[1] |
int | _vertexAmountCurrentlyMaintained |
short[] | _indices = new short[1] |
int | _indicesAmountCurrentlyMaintained |
List< Vector2 > | _temporaryPositionsCache = new List<Vector2>() |
List< float > | _temporaryRotationsCache = new List<float>() |
Definition at line 8 of file VertexStrip.cs.