unreal.MaterialExpressionScalarParameter

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

Bases: unreal.MaterialExpressionParameter

Material Expression Scalar Parameter

C++ Source:

  • Module: Engine

  • File: MaterialExpressionScalarParameter.h

Editor Properties: (see get_editor_property/set_editor_property)

  • default_value (float): [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

  • primitive_data_index (uint8): [Read-Write] Primitive Data Index

  • slider_max (float): [Read-Write] Sets the upper bound for the slider on this parameter in the material instance editor. The slider will be disabled if SliderMax <= SliderMin.

  • slider_min (float): [Read-Write] Sets the lower bound for the slider on this parameter in the material instance editor.

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

  • use_custom_primitive_data (bool): [Read-Write] Use Custom Primitive Data