unreal.MaterialExpressionStaticSwitchParameter

class unreal.MaterialExpressionStaticSwitchParameter(outer: Object | None = None, name: 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]

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

  • dynamic_branch (bool): [Read-Write] Change Parameter from “static bool” to (dynamic) bool type which enables it to be used with dynamic branching

  • group (Name): [Read-Write] 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_y (int32): [Read-Write]

  • 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.