Navigation
API > API/Plugins > API/Plugins/GameplayCameras
References
| Module | GameplayCameras |
| Header | /Engine/Plugins/Cameras/GameplayCameras/Source/GameplayCameras/Public/WaveOscillatorCameraShakePattern.h |
| Include | #include "WaveOscillatorCameraShakePattern.h" |
Syntax
USTRUCT&40;BlueprintType&41;
struct FWaveOscillator
Remarks
A wave oscillator for a single number.
Variables
| Type | Name | Description | |
|---|---|---|---|
| float | Amplitude | Amplitude of the sinusoidal oscillation. | |
| float | Frequency | Frequency of the sinusoidal oscillation. | |
| EInitialWaveOscillatorOffsetType | InitialOffsetType | Defines how to begin the oscillation. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
| Creates a new wave oscillator. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| float | Initialize
(
float& OutInitialOffset |
Sets the initial offset and returns the initial value of the oscillator | |
| float | Update
(
float DeltaTime, |
Advances the oscillation time and returns the current value |