Navigation
API > API/Plugins > API/Plugins/Water > API/Plugins/Water/UWaterBodyComponent
Description
Spline query helper. It's faster to get the spline key once then query properties using that key, rather than querying repeatedly by location etc.
| Name | FindInputKeyClosestToWorldLocation |
| Type | function |
| Header File | /Engine/Plugins/Experimental/Water/Source/Runtime/Public/WaterBodyComponent.h |
| Include Path | #include "WaterBodyComponent.h" |
| Source | /Engine/Plugins/Experimental/Water/Source/Runtime/Private/WaterBodyComponent.cpp |
float FindInputKeyClosestToWorldLocation
(
const FVector & WorldLocation
) const