unreal.RigUnit_MathVectorSetLength

class unreal.RigUnit_MathVectorSetLength(value: Vector = Ellipsis, length: float = 0.0, result: Vector = Ellipsis)

Bases: RigUnit_MathVectorBase

Sets the length of a given vector

C++ Source:

  • Plugin: ControlRig

  • Module: ControlRig

  • File: RigUnit_MathVector.h

Editor Properties: (see get_editor_property/set_editor_property)

  • length (float): [Read-Write] Length

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

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

property length: float

[Read-Write] Length

Type:

(float)

property result: Vector

[Read-Only] Result

Type:

(Vector)

property value: Vector

[Read-Write] Value

Type:

(Vector)