Struct HighlightState
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 struct HighlightState
Constructors
HighlightState(Color32, TMP_Offset)
Declaration
public HighlightState(Color32 color, TMP_Offset padding)
Parameters
| Type |
Name |
Description |
| Color32 |
color |
|
| TMP_Offset |
padding |
|
Fields
color
Declaration
Field Value
padding
Declaration
public TMP_Offset padding
Field Value
Methods
Equals(object)
Declaration
public override bool Equals(object obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
Equals(HighlightState)
Declaration
public bool Equals(HighlightState other)
Parameters
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
Operators
operator ==(HighlightState, HighlightState)
Declaration
public static bool operator ==(HighlightState lhs, HighlightState rhs)
Parameters
Returns
operator !=(HighlightState, HighlightState)
Declaration
public static bool operator !=(HighlightState lhs, HighlightState rhs)
Parameters
Returns