FMath::MakePulsatingValue

Simple function to create a pulsating scalar value

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Math/UnrealMathUtility.h

Include

#include "Math/UnrealMathUtility.h"

Syntax

static float MakePulsatingValue
(
    const double InCurrentTime,
    const float InPulsesPerSecond,
    const float InPhase
)

Remarks

Simple function to create a pulsating scalar value

Returns

Pulsating value (0.0-1.0)

Parameters

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)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss