Navigation
API > API/Plugins > API/Plugins/Water
References
| Module | Water |
| Header | /Engine/Plugins/Experimental/Water/Source/Runtime/Public/WaterMeshSceneProxy.h |
| Include | #include "WaterMeshSceneProxy.h" |
Syntax
class FViewWaterQuadTree
Remarks
A water quadtree instance owned by FWaterMeshSceneProxy and associated with a certain view. In splitscreen, each player should get their own FViewWaterQuadTree.
Functions
| Type | Name | Description | |
|---|---|---|---|
| double | GetMaxHeight () |
||
| double | GetMinHeight () |
||
| FWaterInstanceDataBuffersType * | |||
| FWaterLODParams | GetWaterLODParams
(
const FVector& Position, |
Evaluates the CPU quadtree at the given position and returns parameters used for CPU quadtree draw call generation. | |
| FWaterMeshUserDataBuffersType * | |||
| const FWaterQuadTree & | |||
| FUserDataAndIndirectArgs | PrepareGPUQuadTreeForRendering
(
const TArray< const FSceneView* >& Views, |
Allocates transient GPU resources to build indirect draw calls for the GPU quadtree and returns parameters needed by the water vertex factory to draw the quadtree. | |
| void | TraverseGPUQuadTree
(
FRDGBuilder& GraphBuilder, |
Traverses the GPU quadtree to build indirect draw calls and associated buffers. May also initialize the GPU quadtree if it wasn't initialized already. | |
| void | Update
(
const FWaterQuadTreeBuilder& Builder, |
Rebuilds the quadtree at the specified position. |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FUserDataAndIndirectArgs | |||
| FWaterLODParams |