Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Legacy2x

Legacy bounding box method.
Read time 1 minuteLast updated 9 days ago

Definition

  • Type: Field
  • Namespace: UnityEditor
  • Assembly: UnityEditor
[InspectorName("Legacy version 2 mode (glyph bounding boxes)")]Legacy2x = 0

Remarks

Calculates ascent values by using the highest value of the top of the bounding boxes for the glyphs in the font's character set. For character sets other than dynamic, this can result in smaller ascent values, as not all glyphs will be considered. This mode is available for backward compatibility.