unreal.RigVMFunction_ControlFlowBranch

class unreal.RigVMFunction_ControlFlowBranch(execute_context: RigVMExecuteContext = [], condition: bool = False, true: RigVMExecuteContext = [], false: RigVMExecuteContext = [], completed: RigVMExecuteContext = [])

Bases: RigVMFunction_ControlFlowBase

Executes either the True or False branch based on the condition

C++ Source:

  • Plugin: RigVM

  • Module: RigVM

  • File: RigVMFunction_ControlFlow.h

Editor Properties: (see get_editor_property/set_editor_property)

  • completed (RigVMExecuteContext): [Read-Write] The execute flow to run when the True or False branch is complete

  • condition (bool): [Read-Write] The condition based on which to pick between the True and False branches

  • execute_context (RigVMExecuteContext): [Read-Write] The input execution pin to hook up to the graph

  • false (RigVMExecuteContext): [Read-Write] The branch to run if the condition is False

  • true (RigVMExecuteContext): [Read-Write] The branch to run if the condition is True

property completed: RigVMExecuteContext

[Read-Only] The execute flow to run when the True or False branch is complete

Type:

(RigVMExecuteContext)

property condition: bool

[Read-Write] The condition based on which to pick between the True and False branches

Type:

(bool)

property execute_context: RigVMExecuteContext

[Read-Write] The input execution pin to hook up to the graph

Type:

(RigVMExecuteContext)

property false: RigVMExecuteContext

[Read-Only] The branch to run if the condition is False

Type:

(RigVMExecuteContext)

property true: RigVMExecuteContext

[Read-Only] The branch to run if the condition is True

Type:

(RigVMExecuteContext)