Navigation
API > API/Plugins > API/Plugins/RigVM > API/Plugins/RigVM/RigVMFunctions > API/Plugins/RigVM/RigVMFunctions/Math
Inheritance Hierarchy
- FRigVMStruct
- FRigVMFunction_MathBase
- FRigVMFunction_MathBoolBase
- FRigVMFunction_MathBoolFlipFlop
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;"FlipFlop", Keywords&61;"Toggle,Changed,Different", Varying&41;&41;
struct FRigVMFunction_MathBoolFlipFlop : public FRigVMFunction_MathBoolBase
Remarks
Returns true and false as a sequence.
Variables
| Type | Name | Description | |
|---|---|---|---|
| float | Duration | The duration in seconds at which the result won't change. Use 0 for a different result every time. | |
| bool | LastValue | ||
| bool | Result | ||
| bool | StartValue | The initial value to use for the flag. | |
| float | TimeLeft |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Overridden from FRigVMStruct
| Type | Name | Description | |
|---|---|---|---|
| void | Execute () |
Execute logic for this struct |