unreal.FOscillator

class unreal.FOscillator(amplitude=0.0, frequency=0.0, waveform=OscillatorWaveform.SINE_WAVE)

Bases: unreal.StructBase

Defines oscillation of a single number.

C++ Source:

  • Plugin: GameplayCameras

  • Module: GameplayCameras

  • File: MatineeCameraShake.h

Editor Properties: (see get_editor_property/set_editor_property)

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

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

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

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

property amplitude

[Read-Write] Amplitude: Amplitude of the sinusoidal oscillation.

Type

(float)

property frequency

[Read-Write] Frequency: Frequency of the sinusoidal oscillation.

Type

(float)

property waveform

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

Type

(OscillatorWaveform)