Navigation
API > API/Plugins > API/Plugins/Water
Default implementation of a gerstner wave generator using known wave spectra from oceanology. Edited using octaves, where each octave is a set of waves with 2x longer wave length than the previous octave
| Name | UGerstnerWaterWaveGeneratorSpectrum |
| Type | class |
| Header File | /Engine/Plugins/Experimental/Water/Source/Runtime/Public/GerstnerWaterWaves.h |
| Include Path | #include "GerstnerWaterWaves.h" |
Syntax
UCLASS (EditInlineNew, BlueprintType, MinimalAPI, NotBlueprintable, HideDropDown)
class UGerstnerWaterWaveGeneratorSpectrum : public UGerstnerWaterWaveGeneratorBase
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UGerstnerWaterWaveGeneratorBase → UGerstnerWaterWaveGeneratorSpectrum
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Octaves | TArray< FGerstnerWaveOctave > | GerstnerWaterWaves.h |
|
|
| SpectrumType | EWaveSpectrumType | GerstnerWaterWaves.h |
|
Functions
Public
Overridden from UGerstnerWaterWaveGeneratorBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void GenerateGerstnerWaves_Implementation
(
TArray< FGerstnerWave >& OutWaves |
GerstnerWaterWaves.h |