FromFont(Font)
Create a FontDefinition from Font.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Method
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public static FontDefinition FromFont(Font f)
Parameters
The font to use to display text.
Returns
Type | Description |
|---|---|
| FontDefinition | A new FontDefinition object. |