unreal.GerstnerWaterWaveGeneratorBase

class unreal.GerstnerWaterWaveGeneratorBase(outer: Optional[Object] = None, name: Union[Name, str] = 'None')

Bases: Object

Base class for the gerstner water wave generation. This can be overridden by either C++ classes or Blueprint classes. Simply implement GenerateGerstnerWaves (or GenerateGerstnerWaves_Implementation in C++) to return the set of waves to be used. Waves will automatically be sorted based on wave length.

C++ Source:

  • Plugin: Water

  • Module: Water

  • File: GerstnerWaterWaves.h

generate_gerstner_waves() Array[GerstnerWave]

Generate Gerstner Waves

Returns:

out_waves (Array[GerstnerWave]):

Return type:

Array[GerstnerWave]