alignByGeometry
Use the extents of glyph geometry to perform horizontal alignment rather than glyph metrics.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Field
- Namespace: UnityEngine
- Assembly: UnityEngine.TextRenderingModule
public bool alignByGeometry
Remarks
This can result in better fitting left and right alignment, but may result in incorrect positioning when attempting to overlay multiple fonts (such as a specialized outline font) on top of each other.