unreal.RigVMFunction_MathVectorClamp

class unreal.RigVMFunction_MathVectorClamp(value: Vector = Ellipsis, minimum: Vector = Ellipsis, maximum: Vector = Ellipsis, result: Vector = Ellipsis)

Bases: RigVMFunction_MathVectorBase

Clamps the given value within the range provided by minimum and maximum for each component

C++ Source:

  • Plugin: RigVM

  • Module: RigVM

  • File: RigVMFunction_MathVector.h

Editor Properties: (see get_editor_property/set_editor_property)

  • maximum (Vector): [Read-Write] The Maximum vector to clamp the input by

  • minimum (Vector): [Read-Write] The Minimum vector to clamp the input by

  • result (Vector): [Read-Write] The resulting clamped vector

  • value (Vector): [Read-Write] The input vector to clamp

property maximum: Vector

[Read-Write] The Maximum vector to clamp the input by

Type:

(Vector)

property minimum: Vector

[Read-Write] The Minimum vector to clamp the input by

Type:

(Vector)

property result: Vector

[Read-Only] The resulting clamped vector

Type:

(Vector)

property value: Vector

[Read-Write] The input vector to clamp

Type:

(Vector)