Navigation
API > API/Plugins > API/Plugins/RigVM
Executes the Once branch only once
| Name | FRigVMFunction_ControlFlowRunOnce |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/RigVM/Source/RigVM/Public/RigVMFunctions/RigVMFunction_ControlFlow.h |
| Include Path | #include "RigVMFunctions/RigVMFunction_ControlFlow.h" |
Syntax
USTRUCT (Meta=(DisplayName="Run Once", Keywords="Branch,if"))
struct FRigVMFunction_ControlFlowRunOnce : public FRigVMFunction_ControlFlowBase
Inheritance Hierarchy
- FRigVMStruct → FRigVMFunction_ControlFlowBase → FRigVMFunction_ControlFlowRunOnce
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FRigVMFunction_ControlFlowRunOnce() |
RigVMFunctions/RigVMFunction_ControlFlow.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| BlockToRun | FName | The internal block to run as the node progresses. | RigVMFunctions/RigVMFunction_ControlFlow.h |
|
| Completed | FRigVMExecuteContext | The execute flow to run every frame. | RigVMFunctions/RigVMFunction_ControlFlow.h |
|
| ExecuteContext | FRigVMExecuteContext | The input execution pin to hook up to the graph. | RigVMFunctions/RigVMFunction_ControlFlow.h |
|
| HasRun | bool | The internal condition indicating if this has run once or now. | RigVMFunctions/RigVMFunction_ControlFlow.h | |
| Once | FRigVMExecuteContext | The branch to run once. | RigVMFunctions/RigVMFunction_ControlFlow.h |
|
Functions
Public
Public Virtual
Overridden from FRigVMStruct
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Execute() |
Execute logic for this struct | RigVMFunctions/RigVMFunction_ControlFlow.h | |
| RigVMFunctions/RigVMFunction_ControlFlow.h |