unreal.RigUnit_MathVectorSign

class unreal.RigUnit_MathVectorSign(value: Vector = Ellipsis, result: Vector = Ellipsis)

Bases: RigUnit_MathVectorUnaryOp

Returns the sign of the value (+1 for >= FVector(0.f, 0.f, 0.f), -1 for < 0.f) for each component

C++ Source:

  • Plugin: ControlRig

  • Module: ControlRig

  • File: RigUnit_MathVector.h

Editor Properties: (see get_editor_property/set_editor_property)

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

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