FromFont(Font)
Create a FontDefinition from Font.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
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. |