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