UBuoyancyComponent::GetLastWaterSurfaceInfo

Choose your operating system:

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

UFUNCTION(BlueprintCallable, Category=Buoyancy)
void GetLastWaterSurfaceInfo
(
    FVector & OutWaterPlaneLocation,
    FVector & OutWaterPlaneNormal,
    FVector & OutWaterSurfacePosition,
    float & OutWaterDepth,
    int32 & OutWaterBodyIdx,
    FVector & OutWaterVelocity
)