Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Math/UnrealMathUtility.h |
Include |
#include "Math/UnrealMathUtility.h" |
static float MakePulsatingValue
(
const double InCurrentTime,
const float InPulsesPerSecond,
const 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) |