Navigation
API > API/Plugins > API/Plugins/GameplayCameras
References
| Module | GameplayCameras |
| Header | /Engine/Plugins/Cameras/GameplayCameras/Source/GameplayCameras/Public/LegacyCameraShake.h |
| Include | #include "LegacyCameraShake.h" |
Syntax
USTRUCT&40;BlueprintType&41;
struct FFOscillator
Remarks
Defines oscillation of a single number.
Variables
| Type | Name | Description | |
|---|---|---|---|
| float | Amplitude | Amplitude of the sinusoidal oscillation. | |
| float | Frequency | Frequency of the sinusoidal oscillation. | |
| TEnumAsByte< enum EInitialOscillatorOffset > | InitialOffset | Defines how to begin (either at zero, or at a randomized value. | |
| EOscillatorWaveform | Waveform | Type of waveform to use for oscillation. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FFOscillator () |
Functions
| Type | Name | Description | |
|---|---|---|---|
| float | GetInitialOffset
(
FFOscillator const& Osc |
Returns the initial value of the oscillator. | |
| float | GetOffsetAtTime
(
FFOscillator const& Osc, |
Returns the offset at the given time | |
| float | UpdateOffset
(
FFOscillator const& Osc, |
Advances the oscillation time and returns the current value. | |
| float | UpdateOffset
(
FFOscillator const& Osc, |
Advances the oscillation time and returns the current value. |