Navigation
API > API/Plugins > API/Plugins/Water > API/Plugins/Water/UWaterBodyComponent
References
| Module | Water |
| Header | /Engine/Plugins/Experimental/Water/Source/Runtime/Public/WaterBodyComponent.h |
| Include | #include "WaterBodyComponent.h" |
| Source | /Engine/Plugins/Experimental/Water/Source/Runtime/Private/WaterBodyComponent.cpp |
virtual float GetConstantSurfaceZ&40;&41; const
Remarks
Returns what can be considered the single base Z of the water surface. Doesn't really make sense for non-flat water bodies like EWaterBodyType::Transition or EWaterBodyType::River but can still be useful when using FixedZ for post-process, for example.