terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
Terraria.Graphics.VertexStrip Class Reference
+ Collaboration diagram for Terraria.Graphics.VertexStrip:

Classes

struct  CustomVertexInfo
 

Public Member Functions

void PrepareStrip (ref Vector2Array_10 positions, ref FloatArray_10 rotations, VertexStrip.StripColorFunction colorFunction, VertexStrip.StripHalfWidthFunction widthFunction, Vector2 offsetForAllPositions=default(Vector2), int? expectedVertexPairsAmount=null, bool includeBacksides=false)
 
void PrepareStrip (Vector2[] positions, float[] rotations, VertexStrip.StripColorFunction colorFunction, VertexStrip.StripHalfWidthFunction widthFunction, Vector2 offsetForAllPositions=default(Vector2), int? expectedVertexPairsAmount=null, bool includeBacksides=false)
 
void PrepareStripWithProceduralPadding (ref Vector2Array_10 positions, ref FloatArray_10 rotations, VertexStrip.StripColorFunction colorFunction, VertexStrip.StripHalfWidthFunction widthFunction, Vector2 offsetForAllPositions=default(Vector2), bool includeBacksides=false)
 
void PrepareStripWithProceduralPadding (Vector2[] positions, float[] rotations, VertexStrip.StripColorFunction colorFunction, VertexStrip.StripHalfWidthFunction widthFunction, Vector2 offsetForAllPositions=default(Vector2), bool includeBacksides=false)
 
void DrawTrail (bool includeBacksides)
 
 VertexStrip ()
 
delegate void StripColorFunction (float progressOnStrip, out Color col)
 
delegate float StripHalfWidthFunction (float progressOnStrip)
 

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: