FBuoyancyComponentSim::GetWaterHeight

Windows
MacOS
Linux

References

Module

Water

Header

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

Include

#include "BuoyancyComponentSimulation.h"

Syntax

static float GetWaterHeight
(
    const TArray< FSolverSafeWaterBodyData * > & WaterBodies,
    FVector Position,
    float InWaveReferenceTime,
    const TMap< const FSolverSafeWaterBodyData *, float > & SplineKeyMap,
    float DefaultHeight,
    FSolverSafeWaterBodyData *& OutWaterBody,
    float & OutWaterDepth,
    FVector & OutWaterPlaneLocation,
    FVector & OutWaterPlaneNormal,
    FVector & OutWaterSurfacePosition,
    FVector & OutWaterVelocity,
    int32 & OutWaterBodyIdx,
    bool bShouldIncludeWaves
)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss