unreal.RigVMFunction_MathVectorClampLength

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

Bases: RigVMFunction_MathVectorBase

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

C++ Source:

  • Plugin: RigVM

  • Module: RigVM

  • File: RigVMFunction_MathVector.h

Editor Properties: (see get_editor_property/set_editor_property)

  • maximum_length (float): [Read-Write]

  • minimum_length (float): [Read-Write]

  • result (Vector): [Read-Write]

  • value (Vector): [Read-Write]

property maximum_length: float

[Read-Write]

Type:

(float)

property minimum_length: float

[Read-Write]

Type:

(float)

property result: Vector

[Read-Only]

Type:

(Vector)

property value: Vector

[Read-Write]

Type:

(Vector)