Struct TMP_Offset
Namespace: TMPro
Assembly: Unity.TextMeshPro.dll
Syntax
Constructors
TMP_Offset(float, float)
Declaration
public TMP_Offset(float horizontal, float vertical)
Parameters
Type |
Name |
Description |
float |
horizontal |
|
float |
vertical |
|
TMP_Offset(float, float, float, float)
Declaration
public TMP_Offset(float left, float right, float top, float bottom)
Parameters
Properties
bottom
Declaration
public float bottom { get; set; }
Property Value
horizontal
Declaration
public float horizontal { get; set; }
Property Value
left
Declaration
public float left { get; set; }
Property Value
right
Declaration
public float right { get; set; }
Property Value
top
Declaration
public float top { get; set; }
Property Value
vertical
Declaration
public float vertical { get; set; }
Property Value
zero
Declaration
public static TMP_Offset zero { get; }
Property Value
Methods
Equals(object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
object |
obj |
|
Returns
Overrides
Equals(TMP_Offset)
Declaration
public bool Equals(TMP_Offset other)
Parameters
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
Operators
operator ==(TMP_Offset, TMP_Offset)
Declaration
public static bool operator ==(TMP_Offset lhs, TMP_Offset rhs)
Parameters
Returns
operator !=(TMP_Offset, TMP_Offset)
Declaration
public static bool operator !=(TMP_Offset lhs, TMP_Offset rhs)
Parameters
Returns
operator *(TMP_Offset, float)
Declaration
public static TMP_Offset operator *(TMP_Offset a, float b)
Parameters
Returns