UnityEngine.AccessibilityModule.xml 1.2 KB

123456789101112131415161718192021222324
  1. <?xml version="1.0" encoding="utf-8" standalone="yes"?>
  2. <doc>
  3. <members>
  4. <assembly>
  5. <name>UnityEngine.AccessibilityModule</name>
  6. </assembly>
  7. <member name="T:UnityEngine.Accessibility.VisionUtility">
  8. <summary>
  9. <para>A class containing methods to assist with accessibility for users with different vision capabilities.</para>
  10. </summary>
  11. </member>
  12. <member name="M:UnityEngine.Accessibility.VisionUtility.GetColorBlindSafePalette(UnityEngine.Color[],System.Single,System.Single)">
  13. <summary>
  14. <para>Gets a palette of colors that should be distinguishable for normal vision, deuteranopia, protanopia, and tritanopia.</para>
  15. </summary>
  16. <param name="palette">An array of colors to populate with a palette.</param>
  17. <param name="minimumLuminance">Minimum allowable perceived luminance from 0 to 1. A value of 0.2 or greater is recommended for dark backgrounds.</param>
  18. <param name="maximumLuminance">Maximum allowable perceived luminance from 0 to 1. A value of 0.8 or less is recommended for light backgrounds.</param>
  19. <returns>
  20. <para>The number of unambiguous colors in the palette.</para>
  21. </returns>
  22. </member>
  23. </members>
  24. </doc>