unreal.MaterialExpressionMaterialXRange

class unreal.MaterialExpressionMaterialXRange(outer: Object | None = None, name: Name | str = 'None')

Bases: MaterialExpression

A material expression that Remap a value from one range to another, optionally applying a gamma correction in the middle, and optionally clamping output values.

C++ Source:

  • Plugin: Interchange

  • Module: InterchangeImport

  • File: MaterialExpressionRange.h

Editor Properties: (see get_editor_property/set_editor_property)

  • const_clamp (bool): [Read-Write]

  • const_gamma (float): [Read-Write]

  • const_input_high (float): [Read-Write]

  • const_input_low (float): [Read-Write]

  • const_target_high (float): [Read-Write]

  • const_target_low (float): [Read-Write]

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

  • material_expression_editor_x (int32): [Read-Write]

  • material_expression_editor_y (int32): [Read-Write]