Свойство | 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 |
Свойство | Type | Description | |
---|---|---|---|
m_Colors | List |
||
m_GlyphBounds | List |
||
m_Mesh | Mesh | ||
m_SubmeshTriangles | List |
||
m_UVs | List |
||
m_UVs2 | List |
||
m_Vertices | List |
Méthode | 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 |
Méthode | Description | |
---|---|---|
BlitString ( string str, float cursorX, float cursorY, List |
||
GetGlyphIndexAtWorldPoint ( Vector3 point ) : int | ||
GetStringWidth ( string str ) : float | ||
IsTextNullOrEmpty ( ) : bool | ||
TranslateBounds ( Bounds b ) : Bounds |
public AddPlaceholderGlyphBounds ( ) : void | ||
Résultat | void |
public BlitQuad ( Rect quad, TGlyph glyph ) : void | ||
quad | Rect | |
glyph | TGlyph | |
Résultat | void |
public GetWrappedText ( string text ) : string | ||
text | string | |
Résultat | string |
public OffsetStringPosition ( List |
||
vertexPointers | List |
|
offsetX | float | |
Résultat | 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 | |
Résultat | void |
public StoreGlyphBounds ( Bounds b ) : void | ||
b | Bounds | |
Résultat | void |