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
UnityEngine.TextGenerator Class Referencesealed
+ Inheritance diagram for UnityEngine.TextGenerator:
+ Collaboration diagram for UnityEngine.TextGenerator:

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< UIVertexverts [get, set]
 
IList< UICharInfocharacters [get, set]
 
IList< UILineInfolines [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< UIVertexm_Verts
 
readonly List< UICharInfom_Characters
 
readonly List< UILineInfom_Lines
 
bool m_CachedVerts
 
bool m_CachedCharacters
 
bool m_CachedLines
 

Detailed Description

Definition at line 16 of file TextGenerator.cs.


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