Interface ITextElement
Important
This package is deprecated. From Unity 2023.2, TextMesh Pro is part of the Unity UI (uGUI) package. For current documentation, refer to TextMesh Pro in the Unity UI package.
Namespace: TMPro
Assembly: Unity.TextMeshPro.dll
Syntax
public interface ITextElement
Properties
sharedMaterial
Declaration
Material sharedMaterial { get; }
Property Value
| Type |
Description |
| Material |
|
Methods
GetEntityId()
Declaration
Returns
| Type |
Description |
| EntityId |
|
GetInstanceID()
Declaration
[Obsolete("GetInstanceID() is obsolete, use GetEntityId() instead.", false)]
int GetInstanceID()
Returns
Rebuild(CanvasUpdate)
Declaration
void Rebuild(CanvasUpdate update)
Parameters
| Type |
Name |
Description |
| CanvasUpdate |
update |
|