terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
Terraria.Graphics.VertexStrip Class Reference

Classes

struct  CustomVertexInfo
 
class  StripColorFunction
 
class  StripHalfWidthFunction
 

Public Member Functions

void PrepareStrip (Vector2Array_10 positions, FloatArray_10 rotations, VertexStrip.StripColorFunction colorFunction, VertexStrip.StripHalfWidthFunction widthFunction, [Optional] Vector2 offsetForAllPositions, [Optional] int? expectedVertexPairsAmount, bool includeBacksides=false)
 
void PrepareStrip (Vector2[] positions, float[] rotations, VertexStrip.StripColorFunction colorFunction, VertexStrip.StripHalfWidthFunction widthFunction, [Optional] Vector2 offsetForAllPositions, [Optional] int? expectedVertexPairsAmount, bool includeBacksides=false)
 
void PrepareStripWithProceduralPadding (Vector2Array_10 positions, FloatArray_10 rotations, VertexStrip.StripColorFunction colorFunction, VertexStrip.StripHalfWidthFunction widthFunction, [Optional] Vector2 offsetForAllPositions, bool includeBacksides=false)
 
void PrepareStripWithProceduralPadding (Vector2[] positions, float[] rotations, VertexStrip.StripColorFunction colorFunction, VertexStrip.StripHalfWidthFunction widthFunction, [Optional] Vector2 offsetForAllPositions, bool includeBacksides=false)
 
void DrawTrail (bool includeBacksides)
 
 VertexStrip ()
 

Private Member Functions

void PrepareIndices (int vertexPaidsAdded)
 
void AddVertex (VertexStrip.StripColorFunction colorFunction, VertexStrip.StripHalfWidthFunction widthFunction, Vector2 pos, float rot, int indexOnVertexArray, float progressOnStrip)
 

Private Attributes

VertexStrip.CustomVertexInfo[] _vertices
 
int _vertexAmountCurrentlyMaintained
 
short[] _indices
 
int _indicesAmountCurrentlyMaintained
 
List< Vector2_temporaryPositionsCache
 
List< float > _temporaryRotationsCache
 

Detailed Description

Definition at line 12 of file VertexStrip.cs.


The documentation for this class was generated from the following file: