unreal.MaterialExpressionStaticSwitch

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

Bases: unreal.MaterialExpression

Material Expression Static Switch

C++ Source:

  • Module: Engine

  • File: MaterialExpressionStaticSwitch.h

Editor Properties: (see get_editor_property/set_editor_property)

  • default_value (bool): [Read-Write] Default Value

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