Navigation
API > API/Plugins > API/Plugins/RigVM > API/Plugins/RigVM/RigVMFunctions > API/Plugins/RigVM/RigVMFunctions/Simulation
Inheritance Hierarchy
- FRigVMStruct
- FRigVMFunction_SimBase
- FRigVMFunction_TimeLoop
References
| Module | RigVM |
| Header | /Engine/Plugins/Runtime/RigVM/Source/RigVM/Public/RigVMFunctions/Simulation/RigVMFunction_Timeline.h |
| Include | #include "RigVMFunctions/Simulation/RigVMFunction_Timeline.h" |
Syntax
USTRUCT (
Meta=(DisplayName="Time Loop", Category="Simulation|Accumulate", Keywords="Playback,Pause,Timeline"))
struct FRigVMFunction_TimeLoop : public FRigVMFunction_SimBase
Remarks
Simulates a time value - and outputs loop information
Variables
| Type | Name | Description | |
|---|---|---|---|
| float | Absolute | The overall time in seconds | |
| float | AccumulatedAbsolute | ||
| float | AccumulatedRelative | ||
| bool | bIsInitialized | ||
| float | Duration | The duration of a single loop in seconds | |
| bool | Even | True if the iteration of the loop is even | |
| float | FlipFlop | The relative time in seconds (within the loop), going from 0 to duration and then back from duration to 0, or 0 to 1 and 1 to 0 if Normalize is turned on | |
| bool | Normalize | If set to true the output relative and flipflop will be normalized over the duration. | |
| int32 | NumIterations | ||
| float | Relative | The relative time in seconds (within the loop) | |
| float | Speed |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
RIGVM_METHOD () |
Overridden from FRigVMStruct
| Type | Name | Description | |
|---|---|---|---|
| void | Initialize () |
Initialize logic for this struct |