Navigation
API > API/Plugins > API/Plugins/Water > API/Plugins/Water/UWaterBodyComponent
Description
Returns what can be considered the single water depth of the water surface. Only really make sense for EWaterBodyType::Transition water bodies for which we don't really have a way to evaluate depth.
| Name | GetConstantDepth |
| 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 |
virtual float GetConstantDepth() const