Defines oscillation of a single number. 更多...
#include <CameraShake.h>
静态 Public 成员函数 | |
| static float | GetInitialOffset (FFOscillator const &Osc) |
| Returns the initial value of the oscillator. | |
| static float | GetOffsetAtTime (FFOscillator const &Osc, float InitialOffset, float Time) |
| Returns the offset at the given time | |
| static float | UpdateOffset (FFOscillator const &Osc, float &CurrentOffset, float DeltaTime) |
| Advances the oscillation time and returns the current value. | |
Public 属性 | |
| 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. | |
Defines oscillation of a single number.