Property | Type | Description | |
---|---|---|---|
Alignment | TTextAlignment | ||
AutoRebuild | bool | ||
ColorBottomLeft | Color | ||
ColorBottomRight | Color | ||
ColorTopLeft | Color | ||
ColorTopRight | Color | ||
DrawGlyphBoundsGizmos | bool | ||
EnableClickSupport | bool | ||
FillMode | TFillMode | ||
Font | TypogenicFont | ||
GenerateNormals | bool | ||
Leading | float | ||
ParagraphSpacing | float | ||
Size | float | ||
Stationary | bool | ||
Text | string | ||
Tracking | float | ||
WordWrap | float |
Property | Type | Description | |
---|---|---|---|
m_Colors | List |
||
m_GlyphBounds | List |
||
m_Mesh | Mesh | ||
m_SubmeshTriangles | List |
||
m_UVs | List |
||
m_UVs2 | List |
||
m_Vertices | List |
Method | Description | |
---|---|---|
AddPlaceholderGlyphBounds ( ) : void | ||
BlitQuad ( Rect quad, TGlyph glyph ) : void | ||
ClearGlyphBounds ( ) : void | ||
GetWrappedText ( string text ) : string | ||
LateUpdate ( ) : void | ||
OffsetStringPosition ( List |
||
OnDisable ( ) : void | ||
OnDrawGizmos ( ) : void | ||
OnEnable ( ) : void | ||
OnMouseUpAsButton ( ) : void | ||
RebuildMesh ( ) : void | ||
RefreshColliders ( ) : void | ||
Reset ( ) : void | ||
Set ( string text = null, float size = null, float leading = null, float tracking = null, float paragraphSpacing = null, TTextAlignment alignement = null, float wordWrap = null ) : void | ||
StoreGlyphBounds ( Bounds b ) : void |
Method | Description | |
---|---|---|
BlitString ( string str, float cursorX, float cursorY, List |
||
GetGlyphIndexAtWorldPoint ( Vector3 point ) : int | ||
GetStringWidth ( string str ) : float | ||
IsTextNullOrEmpty ( ) : bool | ||
TranslateBounds ( Bounds b ) : Bounds |
public BlitQuad ( Rect quad, TGlyph glyph ) : void | ||
quad | Rect | |
glyph | TGlyph | |
return | void |
public GetWrappedText ( string text ) : string | ||
text | string | |
return | string |
public OffsetStringPosition ( List |
||
vertexPointers | List |
|
offsetX | float | |
return | void |
public Set ( string text = null, float size = null, float leading = null, float tracking = null, float paragraphSpacing = null, TTextAlignment alignement = null, float wordWrap = null ) : void | ||
text | string | |
size | float | |
leading | float | |
tracking | float | |
paragraphSpacing | float | |
alignement | TTextAlignment | |
wordWrap | float | |
return | void |