Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Plugins/Experimental/Water/Source/Runtime/Public/BuoyancyComponent.h |
Include |
#include "BuoyancyComponent.h" |
Source |
/Engine/Plugins/Experimental/Water/Source/Runtime/Private/BuoyancyComponent.cpp |
float GetWaterHeight
(
FVector Position,
const TMap< const UWaterBodyComponent *, float > & SplineKeyMap,
float DefaultHeight,
UWaterBodyComponent *& OutWaterBodyComponent,
float & OutWaterDepth,
FVector & OutWaterPlaneLocation,
FVector & OutWaterPlaneNormal,
FVector & OutWaterSurfacePosition,
FVector & OutWaterVelocity,
int32 & OutWaterBodyIdx,
bool bShouldIncludeWaves
)