Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Kismet/KismetMathLibrary.h |
Include |
#include "Kismet/KismetMathLibrary.h" |
Source |
/Engine/Source/Runtime/Engine/Private/KismetMathLibrary.cpp |
static float MakePulsatingValue
(
float InCurrentTime,
float InPulsesPerSecond,
float InPhase
)
Simple function to create a pulsating scalar value
Pulsating value (0.0-1.0)
Parameter |
Description |
---|---|
InCurrentTime |
Current absolute time |
InPulsesPerSecond |
How many full pulses per second? |
InPhase |
Optional phase amount, between 0.0 and 1.0 (to synchronize pulses) |