unreal.MaterialExpressionStaticSwitchParameter

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

Bases: unreal.MaterialExpressionStaticBoolParameter

Material Expression Static Switch Parameter

C++ Source:

  • Module: Engine

  • File: MaterialExpressionStaticSwitchParameter.h

Editor Properties: (see get_editor_property/set_editor_property)

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

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

  • group (Name): [Read-Write] The name of the parameter Group to display in MaterialInstance Editor. Default is None group

  • parameter_name (Name): [Read-Write] The name of the parameter

  • sort_priority (int32): [Read-Write] Controls where the this parameter is displayed in a material instance parameter list. The lower the number the higher up in the parameter list.