UBuoyancyComponent::GetLastWaterSurfaceInfo

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](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category=Buoyancy)
void GetLastWaterSurfaceInfo
(
    FVector & OutWaterPlaneLocation,
    FVector & OutWaterPlaneNormal,
    FVector & OutWaterSurfacePosition,
    float & OutWaterDepth,
    int32 & OutWaterBodyIdx,
    FVector & OutWaterVelocity
)

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