Language
Edit

IAccessibilitySubsystem.ApplyTextColorInversion(Material, Boolean) Method

Definition

Provides a material which should have it's text color modified.

public void ApplyTextColorInversion(UnityEngine.Material material, bool enable);
abstract member ApplyTextColorInversion : UnityEngine.Material * bool -> unit
Public Sub ApplyTextColorInversion (material As Material, enable As Boolean)

Parameters

material
UnityEngine.Material

The material to which to apply text color inversion.

enable
Boolean

true to enable inversion, or false.

Remarks

This method requires the material to use the Text Mesh Pro shader which is provided in the Microsoft Mixed Reality Toolkit Graphics Tools package.

Applies to