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
|
Public Member Functions | |
Clipper (SpriteBatch owner) | |
void | SetClipState (bool horizonal, bool vertical) |
void | SetClipRegionInner (int left, int right, int top, int bottom) |
void | PushExpandedClippingRegion () |
void | PopExpandedClippingRegion () |
void | SetClipRegionOuter (int left, int right, int top, int bottom) |
void | SetClipRegionOuter (int left, int right, int top, int bottom, int fadeLeft, int fadeRight, int fadeTop, int fadeBottom) |
void | SetGeometryScale (bool enable, Vector2 centre, float scale) |
void | SetGeometryOffset (bool enable, Vector2 offset) |
void | Offset (SpriteBatchItem item) |
void | Clip (SpriteBatchItem item) |
Private Member Functions | |
void | InjectBatches (SpriteBatchItem item, bool resuseItem, int outNumPoints, SpriteBatcher.VertexData[] output) |
bool | Clip (SpriteBatcher.VertexData p0, SpriteBatcher.VertexData p1, SpriteBatcher.VertexData p2, SpriteBatcher.VertexData p3, int clipLeft, int clipRight, int clipTop, int clipBottom, out int numResultPoints, out SpriteBatcher.VertexData[] result) |
Private Attributes | |
SpriteBatch | clippingBatch |
SpriteBatcher.VertexData[] | cache1 |
SpriteBatcher.VertexData[] | cache2 |
int | inputCount |
int | outputCount |
SpriteBatcher.VertexData[] | input |
SpriteBatcher.VertexData[] | output |
int | Left |
int | Right |
int | Top |
int | Bottom |
int | OuterLeft |
int | OuterRight |
int | OuterTop |
int | OuterBottom |
int | FadeOuterLeft |
int | FadeOuterRight |
int | FadeOuterTop |
int | FadeOuterBottom |
bool | clipVertical |
bool | clipHorizontal |
bool | geometryScaleEnabled |
Vector2 | geometryScaleCentre |
float | geometryScale |
bool | geometryOffsetEnabled |
Vector2 | geometryOffset |
Definition at line 10 of file Clipper.cs.