FWaterQuadTree::AddOcean

Add Ocean by giving a closed spline that represents the land mass for this ocean.

Choose your operating system:

Windows

macOS

Linux

References

Module

Water

Header

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

Include

#include "WaterQuadTree.h"

Source

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

Syntax

void AddOcean
(
    const TArray< FVector2D > & InPoly,
    const FVector2D & InZBounds,
    uint32 InWaterBodyIndex
)

Remarks

Add Ocean by giving a closed spline that represents the land mass for this ocean.