unreal.RigUnit_MathVectorClampLength

class unreal.RigUnit_MathVectorClampLength(value: Vector = Ellipsis, minimum_length: float = 0.0, maximum_length: float = 0.0, result: Vector = Ellipsis)

Bases: RigUnit_MathVectorBase

Clamps the length of a given vector between a minimum and maximum

C++ Source:

  • Plugin: ControlRig

  • Module: ControlRig

  • File: RigUnit_MathVector.h

Editor Properties: (see get_editor_property/set_editor_property)

  • maximum_length (float): [Read-Write] Maximum Length

  • minimum_length (float): [Read-Write] Minimum Length

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

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

property maximum_length: float

[Read-Write] Maximum Length

Type:

(float)

property minimum_length: float

[Read-Write] Minimum Length

Type:

(float)

property result: Vector

[Read-Only] Result

Type:

(Vector)

property value: Vector

[Read-Write] Value

Type:

(Vector)