unreal.RigUnit_MathFloatClamp

class unreal.RigUnit_MathFloatClamp(value: float = 0.0, minimum: float = 0.0, maximum: float = 0.0, result: float = 0.0)

Bases: RigUnit_MathFloatBase

Clamps the given value within the range provided by minimum and maximum

C++ Source:

  • Plugin: ControlRig

  • Module: ControlRig

  • File: RigUnit_MathFloat.h

Editor Properties: (see get_editor_property/set_editor_property)

  • maximum (float): [Read-Write] Maximum

  • minimum (float): [Read-Write] Minimum

  • result (float): [Read-Write] Result

  • value (float): [Read-Write] Value

property maximum: float

[Read-Write] Maximum

Type:

(float)

property minimum: float

[Read-Write] Minimum

Type:

(float)

property result: float

[Read-Only] Result

Type:

(float)

property value: float

[Read-Write] Value

Type:

(float)