SetTints(Color?, Color?)
Overrides the outline and/or shadow tint for this glyph. Pass null to leave a field at the element baseline ( unityTextOutlineColor / textShadow.color ).
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Method
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public void SetTints(Color? outline = null, Color? shadow = null)
Parameters
Remarks
Not additive: each call rebuilds from the element baseline, so pass both and together if you need both. Only valid inside a TextElement.PostProcessTextVertices callback.
outlineshadow