Fonts change

Please tell me, I created a text, everything works fine, how can I add a module there so that I can change fonts in aximmetry ?

Fonts change

   anzaaximm

コメント

Eifert@Aximmetry
  -  

Hi,

Use the Set Font node:

Note that this node only provides access to fonts included within your project; Windows system fonts are not available by default. If you wish to use a Windows font, you need to copy the .ttf or .otf file from C:\Windows\Fonts\… (or download the desired font file), and then import it into your project via the Content Browser (Content Browser → Import, or simply drag and drop the file). For additional instructions, see the official Unreal Engine documentation: https://dev.epicgames.com/documentation/en-us/unreal-engine/importing-fonts-in-unreal-engine 


If you would like to switch dynamically between multiple fonts, you should create a font array variable:

First, right-click the In Font pin of the Set Font node and select Promote to Variable:
Fonts change

Change the promoted variable’s type to an Array:

Add the desired font assets to the array as individual Array elements and use a Get node with Get Aximmetry Integer to select a specific font from the array:

You can easily find the array Get (a ref) node by dragging off from the array variable and searching for "get":
Fonts change

Warmest regards,