unreal.MaterialExpressionIf

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

Bases: unreal.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] only used if B is not hooked up

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

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