Author a Material Graph
A guided example: create a Material and build its node graph in one atomic call, then apply it to an actor.
Loading…
A guided example: create a Material and build its node graph in one atomic call, then apply it to an actor.
This walkthrough creates a Material and builds its node graph in one atomic call, then applies it to an actor in the level. Building the whole graph in a single build_material_graph call is the recommended pattern, because it wires nodes and connections together instead of one at a time.
A new Material asset at the given path.
cfa create_material --name M_Glow --path /Game/MaterialsAdd expression nodes and their connections in one call. Pass the nodes and connections as JSON. See the Materials reference for the exact shape.
cfa build_material_graph --material-path /Game/Materials/M_Glow --nodes "[...]" --connections "[...]"Assign the finished material to a placed actor.
cfa apply_material_to_actor --actor-name Floor --material-path /Game/Materials/M_Glownodes and connections JSON and calls build_material_graph for you. The full parameter list is in the Materials reference.