unreal.FOscillator

class unreal.FOscillator(amplitude: float = 0.0, frequency: float = 0.0, waveform: OscillatorWaveform = Ellipsis)

Bases: StructBase

Defines oscillation of a single number.

C++ Source:

  • Plugin: GameplayCameras

  • Module: GameplayCameras

  • File: LegacyCameraShake.h

Editor Properties: (see get_editor_property/set_editor_property)

  • amplitude (float): [Read-Write] Amplitude of the sinusoidal oscillation.

  • frequency (float): [Read-Write] Frequency of the sinusoidal oscillation.

  • initial_offset (InitialOscillatorOffset): [Read-Write] Defines how to begin (either at zero, or at a randomized value.

  • waveform (OscillatorWaveform): [Read-Write] Type of waveform to use for oscillation.

property amplitude: float

[Read-Write] Amplitude of the sinusoidal oscillation.

Type:

(float)

property frequency: float

[Read-Write] Frequency of the sinusoidal oscillation.

Type:

(float)

property waveform: OscillatorWaveform

[Read-Write] Type of waveform to use for oscillation.

Type:

(OscillatorWaveform)