unreal.WaveOscillator

class unreal.WaveOscillator(amplitude: float = 0.0, frequency: float = 0.0, initial_offset_type: InitialWaveOscillatorOffsetType = Ellipsis)

Bases: StructBase

A wave oscillator for a single number.

C++ Source:

  • Plugin: GameplayCameras

  • Module: GameplayCameras

  • File: WaveOscillatorCameraShakePattern.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_type (InitialWaveOscillatorOffsetType): [Read-Write] Initial Offset Type: Defines how to begin the oscillation.

property amplitude: float

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

Type:

(float)

property frequency: float

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

Type:

(float)

property initial_offset_type: InitialWaveOscillatorOffsetType

[Read-Write] Initial Offset Type: Defines how to begin the oscillation.

Type:

(InitialWaveOscillatorOffsetType)