unreal.MaterialExpressionIf

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

Bases: MaterialExpression

Material Expression If

C++ Source:

  • Module: Engine

  • File: MaterialExpressionIf.h

Editor Properties: (see get_editor_property/set_editor_property)

  • const_b (float): [Read-Write] Const B: only used if B is not hooked up

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

  • equals_threshold (float): [Read-Write] Equals Threshold

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

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