unreal.RigVMFunction_ControlFlowBranch¶
- class unreal.RigVMFunction_ControlFlowBranch(execute_context: RigVMExecuteContext = [], condition: bool = False, true: RigVMExecuteContext = [], false: RigVMExecuteContext = [], completed: RigVMExecuteContext = [])¶
Bases:
RigVMFunction_ControlFlowBaseExecutes 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 completecondition(bool): [Read-Write] The condition based on which to pick between the True and False branchesexecute_context(RigVMExecuteContext): [Read-Write] The input execution pin to hook up to the graphfalse(RigVMExecuteContext): [Read-Write] The branch to run if the condition is Falsetrue(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:
- 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:
- property false: RigVMExecuteContext¶
[Read-Only] The branch to run if the condition is False
- Type:
- property true: RigVMExecuteContext¶
[Read-Only] The branch to run if the condition is True
- Type: