unreal.MaterialExpressionMaterialFunctionCall

class unreal.MaterialExpressionMaterialFunctionCall(outer: Object | None = None, name: Name | str = 'None')

Bases: MaterialExpression

Material Expression Material Function Call

C++ Source:

  • Module: Engine

  • File: MaterialExpressionMaterialFunctionCall.h

Editor Properties: (see get_editor_property/set_editor_property)

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

  • material_expression_editor_x (int32): [Read-Write]

  • material_expression_editor_y (int32): [Read-Write]

  • material_function (MaterialFunctionInterface): [Read-Write] The function to call.

set_material_function(new_material_function) bool

Set Material Function

Parameters:

new_material_function (MaterialFunctionInterface) –

Return type:

bool