unreal.RigUnit_MathVectorSelectBool

class unreal.RigUnit_MathVectorSelectBool(condition: bool = False, if_true: Vector = Ellipsis, if_false: Vector = Ellipsis, result: Vector = Ellipsis)

Bases: RigUnit_MathVectorBase

Return one of the two values based on the condition

C++ Source:

  • Plugin: ControlRig

  • Module: ControlRig

  • File: RigUnit_MathVector.h

Editor Properties: (see get_editor_property/set_editor_property)

  • condition (bool): [Read-Write] Condition

  • if_false (Vector): [Read-Write] If False

  • if_true (Vector): [Read-Write] If True

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

property condition: bool

[Read-Write] Condition

Type:

(bool)

property if_false: Vector

[Read-Write] If False

Type:

(Vector)

property if_true: Vector

[Read-Write] If True

Type:

(Vector)

property result: Vector

[Read-Only] Result

Type:

(Vector)