Class TextGenerator
Inheritance
TextGenerator
Assembly: UnityEngine.dll
Syntax
public sealed class TextGenerator : IDisposable
Constructors
|
Improve this Doc
View Source
TextGenerator()
Declaration
|
Improve this Doc
View Source
TextGenerator(Int32)
Declaration
public TextGenerator(int initialCapacity)
Parameters
Type |
Name |
Description |
Int32 |
initialCapacity |
|
Properties
characterCount
Declaration
public int characterCount { get; }
Property Value
|
Improve this Doc
View Source
characterCountVisible
Declaration
public int characterCountVisible { get; }
Property Value
|
Improve this Doc
View Source
characters
Declaration
public IList<UICharInfo> characters { get; }
Property Value
fontSizeUsedForBestFit
Declaration
public int fontSizeUsedForBestFit { get; }
Property Value
lineCount
Declaration
public int lineCount { get; }
Property Value
|
Improve this Doc
View Source
lines
Declaration
public IList<UILineInfo> lines { get; }
Property Value
rectExtents
Declaration
public Rect rectExtents { get; }
Property Value
vertexCount
Declaration
public int vertexCount { get; }
Property Value
|
Improve this Doc
View Source
verts
Declaration
public IList<UIVertex> verts { get; }
Property Value
Methods
|
Improve this Doc
View Source
Finalize()
Declaration
protected void Finalize()
|
Improve this Doc
View Source
GetCharacters(List<UICharInfo>)
Declaration
public void GetCharacters(List<UICharInfo> characters)
Parameters
GetCharactersArray()
Declaration
public UICharInfo[] GetCharactersArray()
Returns
|
Improve this Doc
View Source
GetLines(List<UILineInfo>)
Declaration
public void GetLines(List<UILineInfo> lines)
Parameters
GetLinesArray()
Declaration
public UILineInfo[] GetLinesArray()
Returns
|
Improve this Doc
View Source
GetPreferredHeight(String, TextGenerationSettings)
Declaration
public float GetPreferredHeight(string str, TextGenerationSettings settings)
Parameters
Returns
|
Improve this Doc
View Source
GetPreferredWidth(String, TextGenerationSettings)
Declaration
public float GetPreferredWidth(string str, TextGenerationSettings settings)
Parameters
Returns
|
Improve this Doc
View Source
GetVertices(List<UIVertex>)
Declaration
public void GetVertices(List<UIVertex> vertices)
Parameters
GetVerticesArray()
Declaration
public UIVertex[] GetVerticesArray()
Returns
|
Improve this Doc
View Source
Invalidate()
Declaration
|
Improve this Doc
View Source
Populate(String, TextGenerationSettings)
Declaration
public bool Populate(string str, TextGenerationSettings settings)
Parameters
Returns
|
Improve this Doc
View Source
PopulateWithErrors(String, TextGenerationSettings, GameObject)
Declaration
public bool PopulateWithErrors(string str, TextGenerationSettings settings, GameObject context)
Parameters
Returns
Explicit Interface Implementations
|
Improve this Doc
View Source
IDisposable.Dispose()
Declaration
void IDisposable.Dispose()
Implements
Extension Methods