unreal.MaterialExpressionComposite

class unreal.MaterialExpressionComposite(outer=None, name='None')

Bases: unreal.MaterialExpression

Composite (subgraph) expression. Exists purely for organzational purposes. Under the hood uses reroute expressions for graph compilation. See below to understand how a particular reroute’s input / output correlates to the inputs / outputs of composites and their pin bases.

_________________ _________________

INPUT BASE | | OUTPUT BASE |

+——–+——–+ +——–+——–+ | | (>) | -> | (>) | | | | (>) | | (>) | | | | (>) | | (>) | | | | (>) | | (>) | | | | | | | | +——–+——–+ +——–+——–+ | NODE IN: NONE | | NODE IN: PINS | | NODE OUT: PINS | | NODE OUT: NONE | |_________________| |_________________|

^ | | v

COMPOSITE |
-> | (>) | | (>) | ->
(>) | | (>) |
(>) | | (>) |
(>) | | (>) |
| | |

C++ Source:

  • Module: Engine

  • File: MaterialExpressionComposite.h

Editor Properties: (see get_editor_property/set_editor_property)

  • desc (str): [Read-Write] Desc: A description that level designers can add (shows in the material editor UI).

  • subgraph_name (str): [Read-Write] Subgraph Name