unreal.RigVMFunction_MathVectorSign

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

Bases: RigVMFunction_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:

  • Module: RigVM

  • File: RigVMFunction_MathVector.h

Editor Properties: (see get_editor_property/set_editor_property)

  • result (Vector): [Read-Write]

  • value (Vector): [Read-Write]