AccessibilityUtilities.SetTextColorInversion(Material, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enabling this will instruct a "Graphics Tools/Text Mesh Pro" based material to display a face color which is an inversion of what it is rendering over top of.
public static void SetTextColorInversion (UnityEngine.Material textMaterial, bool Invert);
static member SetTextColorInversion : UnityEngine.Material * bool -> unit
Public Shared Sub SetTextColorInversion (textMaterial As Material, Invert As Boolean)
Parameters
- textMaterial
- UnityEngine.Material
- Invert
- Boolean