FWaterQuadTree::InitTree

Initialize the tree.

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 InitTree
(
    const FBox2D & InBounds,
    float InTileSize,
    FIntPoint InExtentInTiles
)

Remarks

Initialize the tree. This will unlock the tree for node insertion using AddWaterTilesInsideBounds(...). Tree must be locked before traversal, see Lock().