UGerstnerWaterWaves::RecomputeWaves

Call RecomputeWaves whenever wave data changes, so that all cached data can be recomputed (do not call OnPostLoad... can call BP script internally)

Choose your operating system:

Windows

macOS

Linux

References

Module

Water

Header

/Engine/Plugins/Experimental/Water/Source/Runtime/Public/GerstnerWaterWaves.h

Include

#include "GerstnerWaterWaves.h"

Source

/Engine/Plugins/Experimental/Water/Source/Runtime/Private/GerstnerWaterWaves.cpp

Syntax

void RecomputeWaves
(
    bool bAllowBPScript
)

Remarks

Call RecomputeWaves whenever wave data changes, so that all cached data can be recomputed (do not call OnPostLoad... can call BP script internally)