unreal.MaterialExpressionCustom

class unreal.MaterialExpressionCustom(outer: Optional[Object] = None, name: Union[Name, str] = 'None')

Bases: MaterialExpression

Material Expression Custom

C++ Source:

  • Module: Engine

  • File: MaterialExpressionCustom.h

Editor Properties: (see get_editor_property/set_editor_property)

  • additional_defines (Array[CustomDefine]): [Read-Write] Additional Defines

  • additional_outputs (Array[CustomOutput]): [Read-Write] Additional Outputs

  • code (str): [Read-Write] Code

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

  • description (str): [Read-Write] Description

  • include_file_paths (Array[str]): [Read-Write] Include File Paths

  • inputs (Array[CustomInput]): [Read-Write] Inputs

  • material_expression_editor_x (int32): [Read-Write] Material Expression Editor X

  • material_expression_editor_y (int32): [Read-Write] Material Expression Editor Y

  • output_type (CustomMaterialOutputType): [Read-Write] Output Type