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