unreal.MaterialExpressionStaticSwitchParameter

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

Bases: 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] Desc: A description that level designers can add (shows in the material editor UI).

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

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

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

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

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