unreal.RigVMFunction_MathVectorSetLength

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

Bases: RigVMFunction_MathVectorBase

Sets the length of a given vector

C++ Source:

  • Plugin: RigVM

  • Module: RigVM

  • File: RigVMFunction_MathVector.h

Editor Properties: (see get_editor_property/set_editor_property)

  • length (float): [Read-Write]

  • result (Vector): [Read-Write]

  • value (Vector): [Read-Write]

property length: float

[Read-Write]

Type:

(float)

property result: Vector

[Read-Only]

Type:

(Vector)

property value: Vector

[Read-Write]

Type:

(Vector)