|
bool | hasChanged [get, set] |
|
Vector2 | pivot [get, set] |
|
TextContainerAnchors | anchorPosition [get, set] |
|
Rect | rect [get, set] |
|
Vector2 | size [get, set] |
|
float | width [get, set] |
|
float | height [get, set] |
|
bool | isDefaultWidth [get] |
|
bool | isDefaultHeight [get] |
|
bool | isAutoFitting [get, set] |
|
Vector3 [] | corners [get] |
|
Vector3 [] | worldCorners [get] |
|
Vector4 | margins [get, set] |
|
RectTransform | rectTransform [get] |
| The RectTransform used by the object More...
|
|
TextMeshPro | textMeshPro [get] |
|
|
void | OnContainerChanged () |
|
void | SetRect (Vector2 size) |
|
void | UpdateCorners () |
|
Vector2 | GetPivot (TextContainerAnchors anchor) |
|
TextContainerAnchors | GetAnchorPosition (Vector2 pivot) |
|
|
bool | m_hasChanged |
|
Vector2 | m_pivot |
|
TextContainerAnchors | m_anchorPosition = TextContainerAnchors.Middle |
|
Rect | m_rect |
|
bool | m_isDefaultWidth |
|
bool | m_isDefaultHeight |
|
bool | m_isAutoFitting = false |
|
Vector3 [] | m_corners = new Vector3[4] |
|
Vector3 [] | m_worldCorners = new Vector3[4] |
|
Vector4 | m_margins |
|
RectTransform | m_rectTransform |
|
TextMeshPro | m_textMeshPro |
|
|
static Vector2 | k_defaultSize = new Vector2(100, 100) |
|
Definition at line 14 of file TextContainer.cs.
◆ OnContainerChanged()
void TMPro.TextContainer.OnContainerChanged |
( |
| ) |
|
|
inlineprivate |
◆ OnDisable()
override void TMPro.TextContainer.OnDisable |
( |
| ) |
|
|
inlineprotected |
◆ OnEnable()
override void TMPro.TextContainer.OnEnable |
( |
| ) |
|
|
inlineprotected |
◆ OnRectTransformDimensionsChange()
override void TMPro.TextContainer.OnRectTransformDimensionsChange |
( |
| ) |
|
|
inlineprotected |
Callback from Unity to handle RectTransform changes.
Definition at line 247 of file TextContainer.cs.
◆ rectTransform
RectTransform TMPro.TextContainer.rectTransform |
|
get |
◆ textMeshPro
The documentation for this class was generated from the following file:
- Library/PackageCache/com.unity.textmeshpro@1.3.0/Scripts/Runtime/TextContainer.cs