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