unreal.RigVMFunction_MathVectorRemap

class unreal.RigVMFunction_MathVectorRemap(value: Vector = Ellipsis, source_minimum: Vector = Ellipsis, source_maximum: Vector = Ellipsis, target_minimum: Vector = Ellipsis, target_maximum: Vector = Ellipsis, clamp: bool = False, result: Vector = Ellipsis)

Bases: RigVMFunction_MathVectorBase

Remaps the given value from a source range to a target range for each component

C++ Source:

  • Plugin: RigVM

  • Module: RigVM

  • File: RigVMFunction_MathVector.h

Editor Properties: (see get_editor_property/set_editor_property)

  • clamp (bool): [Read-Write] If set to true the result is clamped to the target range

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

  • source_maximum (Vector): [Read-Write] The maximum of the input vector for each component

  • source_minimum (Vector): [Read-Write] The minimum of the input vector for each component

  • target_maximum (Vector): [Read-Write] The maximum for the output vector for each component

  • target_minimum (Vector): [Read-Write] The minimum for the output vector for each component

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

property clamp: bool

[Read-Write] If set to true the result is clamped to the target range

Type:

(bool)

property result: Vector

[Read-Only] The resulting remapped vector

Type:

(Vector)

property source_maximum: Vector

[Read-Write] The maximum of the input vector for each component

Type:

(Vector)

property source_minimum: Vector

[Read-Write] The minimum of the input vector for each component

Type:

(Vector)

property target_maximum: Vector

[Read-Write] The maximum for the output vector for each component

Type:

(Vector)

property target_minimum: Vector

[Read-Write] The minimum for the output vector for each component

Type:

(Vector)

property value: Vector

[Read-Write] The input vector to remap

Type:

(Vector)