FWaveOscillator

A wave oscillator for a single number.

Windows
MacOS
Linux

References

Module

GameplayCameras

Header

/Engine/Plugins/Cameras/GameplayCameras/Source/GameplayCameras/Public/WaveOscillatorCameraShakePattern.h

Include

#include "WaveOscillatorCameraShakePattern.h"

Syntax

[USTRUCT](Programming/UnrealArchitecture/Reference/Structs)([BlueprintType](Programming/UnrealArchitecture/Reference/Structs/Specifiers/BlueprintType))
struct FWaveOscillator

Remarks

A wave oscillator for a single number.

Variables

Name Description

Public variable UProperty Category, EditAnywhere BlueprintReadWrite

float

 

Amplitude

Amplitude of the sinusoidal oscillation.

Public variable UProperty Category, EditAnywhere BlueprintReadWrite

float

 

Frequency

Frequency of the sinusoidal oscillation.

Public variable UProperty Category, EditAnywhere BlueprintReadWrite

EInitialWaveOsc...

 

InitialOffsetType

Defines how to begin the oscillation.

Constructors

Name Description

Public function

FWaveOscillator()

Creates a new wave oscillator.

Functions

Name Description

Public function Const

float

 

Initialize

(
    float& OutInitialOffset
)

Sets the initial offset and returns the initial value of the oscillator

Public function Const

float

 

Update

(
    float DeltaTime,
    float AmplitudeMultiplier,
    float FrequencyMultiplier,
    float& InOutCurrentOffset
)

Advances the oscillation time and returns the current value

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