unreal.WaveOscillator

class unreal.WaveOscillator(amplitude=1.0, frequency=1.0, initial_offset_type=InitialWaveOscillatorOffsetType.RANDOM)

Bases: unreal.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

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

Type

(float)

property frequency

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

Type

(float)

property initial_offset_type

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

Type

(InitialWaveOscillatorOffsetType)