Navigation
API > API/Plugins > API/Plugins/RigVM > API/Plugins/RigVM/RigVMFunctions > API/Plugins/RigVM/RigVMFunctions/Math
Inheritance Hierarchy
- FRigVMStruct
- FRigVMFunction_MathBase
- FRigVMFunction_MathBoolBase
- FRigVMFunction_MathBoolOnce
References
| Module | RigVM |
| Header | /Engine/Plugins/Runtime/RigVM/Source/RigVM/Public/RigVMFunctions/Math/RigVMFunction_MathBool.h |
| Include | #include "RigVMFunctions/Math/RigVMFunction_MathBool.h" |
Syntax
USTRUCT&40;Meta&61;&40;DisplayName&61;"Once", Keywords&61;"FlipFlop,Toggle,Changed,Different", Varying&41;&41;
struct FRigVMFunction_MathBoolOnce : public FRigVMFunction_MathBoolBase
Remarks
Returns true once the first time this node is hit
Variables
| Type | Name | Description | |
|---|---|---|---|
| float | Duration | The duration in seconds at which the result is true Use 0 for a different result every time. | |
| bool | LastValue | ||
| bool | Result | ||
| float | TimeLeft |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Overridden from FRigVMStruct
| Type | Name | Description | |
|---|---|---|---|
| void | Execute () |
Execute logic for this struct |