Function to add a new sub text object.
- Parameters
-
textComponent | |
materialReference | |
- Returns
override void TMPro.TMP_SubMeshUI.Cull |
( |
Rect |
clipRect, |
|
|
bool |
validRect |
|
) |
| |
|
inline |
Override to Cull function of MaskableGraphic to prevent Culling.
- Parameters
-
override Material TMPro.TMP_SubMeshUI.GetModifiedMaterial |
( |
Material |
baseMaterial | ) |
|
|
inline |
Function returning the modified material for masking if necessary.
- Parameters
-
- Returns
float TMPro.TMP_SubMeshUI.GetPaddingForMaterial |
( |
| ) |
|
|
inline |
Function called when the padding value for the material needs to be re-calculated.
- Returns
float TMPro.TMP_SubMeshUI.GetPaddingForMaterial |
( |
Material |
mat | ) |
|
|
inline |
Function called when the padding value for the material needs to be re-calculated.
- Returns
override void TMPro.TMP_SubMeshUI.OnDestroy |
( |
| ) |
|
|
inlineprotected |
override void TMPro.TMP_SubMeshUI.OnDisable |
( |
| ) |
|
|
inlineprotected |
override void TMPro.TMP_SubMeshUI.OnEnable |
( |
| ) |
|
|
inlineprotected |
override void TMPro.TMP_SubMeshUI.OnTransformParentChanged |
( |
| ) |
|
|
inlineprotected |
override void TMPro.TMP_SubMeshUI.Rebuild |
( |
CanvasUpdate |
update | ) |
|
|
inline |
override void TMPro.TMP_SubMeshUI.RecalculateClipping |
( |
| ) |
|
|
inline |
Method called when the state of a parent changes.
override void TMPro.TMP_SubMeshUI.RecalculateMasking |
( |
| ) |
|
|
inline |
void TMPro.TMP_SubMeshUI.RefreshMaterial |
( |
| ) |
|
|
inline |
Function to update the material from the parent text object.
override void TMPro.TMP_SubMeshUI.SetAllDirty |
( |
| ) |
|
|
inline |
override void TMPro.TMP_SubMeshUI.SetLayoutDirty |
( |
| ) |
|
|
inline |
override void TMPro.TMP_SubMeshUI.SetMaterialDirty |
( |
| ) |
|
|
inline |
void TMPro.TMP_SubMeshUI.SetPivotDirty |
( |
| ) |
|
|
inline |
override void TMPro.TMP_SubMeshUI.SetVerticesDirty |
( |
| ) |
|
|
inline |
override void TMPro.TMP_SubMeshUI.UpdateGeometry |
( |
| ) |
|
|
inlineprotected |
override void TMPro.TMP_SubMeshUI.UpdateMaterial |
( |
| ) |
|
|
inlineprotected |
void TMPro.TMP_SubMeshUI.UpdateMeshPadding |
( |
bool |
isExtraPadding, |
|
|
bool |
isUsingBold |
|
) |
| |
|
inline |
new CanvasRenderer TMPro.TMP_SubMeshUI.canvasRenderer |
|
get |
The Mesh Renderer of this text sub object.
Material TMPro.TMP_SubMeshUI.fallbackMaterial |
|
getset |
Material TMPro.TMP_SubMeshUI.fallbackSourceMaterial |
|
getset |
The source material used by the fallback font
The TMP Font Asset assigned to this sub text object.
bool TMPro.TMP_SubMeshUI.isDefaultMaterial |
|
getset |
Is the text object using the default font asset material.
override Texture TMPro.TMP_SubMeshUI.mainTexture |
|
get |
override Material TMPro.TMP_SubMeshUI.material |
|
getset |
The material to be assigned to this object. Returns an instance of the material.
override Material TMPro.TMP_SubMeshUI.materialForRendering |
|
get |
Get the material that will be used for rendering.
Mesh TMPro.TMP_SubMeshUI.mesh |
|
getset |
The Mesh of this text sub object.
float TMPro.TMP_SubMeshUI.padding |
|
getset |
Padding value resulting for the property settings on the material.
Material TMPro.TMP_SubMeshUI.sharedMaterial |
|
getset |
The material to be assigned to this text object.
The TMP Sprite Asset assigned to this sub text object.
The documentation for this class was generated from the following file: