Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Camera/CameraShake.h |
Include |
#include "Camera/CameraShake.h" |
struct FFOscillator
Defines oscillation of a single number.
Name | Description | ||
---|---|---|---|
|
float |
Amplitude |
Amplitude of the sinusoidal oscillation. |
|
float |
Frequency |
Frequency of the sinusoidal oscillation. |
|
TEnumAsByte< en... |
InitialOffset |
Defines how to begin (either at zero, or at a randomized value. |
|
Waveform |
Type of waveform to use for oscillation. |
Name | Description | |
---|---|---|
|
FFOscillator() |
Name | Description | ||
---|---|---|---|
|
float |
GetInitialOffset ( |
Returns the initial value of the oscillator. |
|
float |
GetOffsetAtTime ( |
Returns the offset at the given time |
|
float |
UpdateOffset ( |
Advances the oscillation time and returns the current value. |