AWaterBody::GetConstantSurfaceZ

Returns what can be considered the single base Z of the water surface.

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 float GetConstantSurfaceZ() 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.

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