UBuoyancyComponent::GetWaterHeight

Windows
MacOS
Linux

References

Module

Water

Header

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

Include

#include "BuoyancyComponent.h"

Source

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

Syntax

float GetWaterHeight
(
    FVector Position,
    const TMap< const AWaterBody *, float > & SplineKeyMap,
    float DefaultHeight,
    AWaterBody *& 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