Material Block in Fortnite
Materials have a lot of functionality in UEFN due to editable material parameters exposed in Verse. Parameterized materials are key to creating a high quality looking user interface (UI) with a material_block.
A material_block uses a UI material’s or material instances’ parameters to modify and control the parameter values through Verse code to create a dynamic looking UI. For example, the parameters of a UI meter material can be manipulated in Verse to program material behavior when the player takes damage, or damages an enemy.
Before writing a line of code, consider how you want to use materials in your UI. Create wireframes to determine how you want your UI to look and what you want the materials to do.
UI Materials and Textures
Coding a material_block slot starts with the creation of your UI material. You can use the material functions and materials available from the User Interfaces Feature Template, or you can create your own custom material from scratch.
You're reading a preview
The full reference is free for BrainDeadGuild Discord members — sign in to read it all, or open the original at the source.
Sign in with your BrainDead.TV / BrainDeadGuild Discord account for full access.