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 | |
TextGenerator () | |
TextGenerator (int initialCapacity) | |
void | Invalidate () |
void | GetCharacters (List< UICharInfo > characters) |
void | GetLines (List< UILineInfo > lines) |
void | GetVertices (List< UIVertex > vertices) |
float | GetPreferredWidth (string str, TextGenerationSettings settings) |
float | GetPreferredHeight (string str, TextGenerationSettings settings) |
bool | PopulateWithErrors (string str, TextGenerationSettings settings, GameObject context) |
bool | Populate (string str, TextGenerationSettings settings) |
Protected Member Functions | |
override void | Finalize () |
Package Functions | |
bool | Populate_Internal (string str, Font font, Color color, int fontSize, float scaleFactor, float lineSpacing, FontStyle style, bool richText, bool resizeTextForBestFit, int resizeTextMinSize, int resizeTextMaxSize, int verticalOverFlow, int horizontalOverflow, bool updateBounds, TextAnchor anchor, float extentsX, float extentsY, float pivotX, float pivotY, bool generateOutOfBounds, bool alignByGeometry, out uint error) |
bool | Populate_Internal (string str, Font font, Color color, int fontSize, float scaleFactor, float lineSpacing, FontStyle style, bool richText, bool resizeTextForBestFit, int resizeTextMinSize, int resizeTextMaxSize, VerticalWrapMode verticalOverFlow, HorizontalWrapMode horizontalOverflow, bool updateBounds, TextAnchor anchor, Vector2 extents, Vector2 pivot, bool generateOutOfBounds, bool alignByGeometry, out TextGenerationError error) |
Package Attributes | |
IntPtr | m_Ptr |
Properties | |
int | characterCountVisible [get, set] |
IList< UIVertex > | verts [get, set] |
IList< UICharInfo > | characters [get, set] |
IList< UILineInfo > | lines [get, set] |
Rect | rectExtents [get, set] |
int | characterCount [get, set] |
int | lineCount [get, set] |
Private Member Functions | |
void System.IDisposable. | Dispose () |
TextGenerationSettings | ValidatedSettings (TextGenerationSettings settings) |
TextGenerationError | PopulateWithError (string str, TextGenerationSettings settings) |
TextGenerationError | PopulateAlways (string str, TextGenerationSettings settings) |
static IntPtr | Internal_Create () |
static void | Internal_Destroy (IntPtr ptr) |
void | GetVerticesInternal (object vertices) |
void | GetCharactersInternal (object characters) |
void | GetLinesInternal (object lines) |
void | get_rectExtents_Injected (out Rect ret) |
bool | Populate_Internal_Injected (string str, Font font, ref Color color, int fontSize, float scaleFactor, float lineSpacing, FontStyle style, bool richText, bool resizeTextForBestFit, int resizeTextMinSize, int resizeTextMaxSize, int verticalOverFlow, int horizontalOverflow, bool updateBounds, TextAnchor anchor, float extentsX, float extentsY, float pivotX, float pivotY, bool generateOutOfBounds, bool alignByGeometry, out uint error) |
Private Attributes | |
string | m_LastString |
TextGenerationSettings | m_LastSettings |
bool | m_HasGenerated |
TextGenerationError | m_LastValid |
readonly List< UIVertex > | m_Verts |
readonly List< UICharInfo > | m_Characters |
readonly List< UILineInfo > | m_Lines |
bool | m_CachedVerts |
bool | m_CachedCharacters |
bool | m_CachedLines |
Definition at line 16 of file TextGenerator.cs.