Navigation
API > API/Plugins > API/Plugins/Water
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.
| Name | UGerstnerWaterWaveGeneratorBase |
| Type | class |
| Header File | /Engine/Plugins/Experimental/Water/Source/Runtime/Public/GerstnerWaterWaves.h |
| Include Path | #include "GerstnerWaterWaves.h" |
Syntax
UCLASS (EditInlineNew, BlueprintType, MinimalAPI, Abstract, Blueprintable)
class UGerstnerWaterWaveGeneratorBase : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UGerstnerWaterWaveGeneratorBase
Derived Classes
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void GenerateGerstnerWaves
(
TArray< FGerstnerWave >& OutWaves |
GerstnerWaterWaves.h |
|
|
virtual void GenerateGerstnerWaves_Implementation
(
TArray< FGerstnerWave >& OutWaves |
GerstnerWaterWaves.h |