unreal.TG_LevelsSettings

class unreal.TG_LevelsSettings

Bases: StructBase

TG Levels Settings

C++ Source:

  • Plugin: TextureGraph

  • Module: TextureGraph

  • File: TG_Expression_Levels.h

Editor Properties: (see get_editor_property/set_editor_property)

  • high (float): [Read-Write] The High value of the Levels adjustment, any pixel above that value is set to white. Default is 1.

  • low (float): [Read-Write] The Low value of the Levels adjustment, any pixel under that value is set to black. Default is 0.

  • mid (float): [Read-Write] The mid value of the Levels adjustment, must be in the range [Min, Max] and the Default is 0.5. The mid value determine where the smoothing curve applying the midpoint filter is crossing 0.5.