AWaterBody::QueryWaterInfoClosestToWorldLocation

Returns the requested water info closest to this world location

Windows
MacOS
Linux

References

Module

Water

Header

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

Include

#include "WaterBodyActor.h"

Source

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

Syntax

virtual FWaterBodyQueryResult QueryWaterInfoClosestToWorldLocation
(
    const FVector & InWorldLocation,
    EWaterBodyQueryFlags InQueryFlags,
    const TOptional< float > & InSplineInputKey
) const

Remarks

Returns the requested water info closest to this world location

  • InWorldLocation: world-space location closest to which the function returns the water info

  • InQueryFlags: flags to indicate which info is to be computed

  • InSplineInputKey: (optional) location on the spline, in case it has already been computed.

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