Navigation
API > API/Runtime > API/Runtime/Landscape > API/Runtime/Landscape/FHeightmapAccessor
Description
Render the heightmap with overrides on edit layer visibility. Does not modify persistent landscape data like FLandscapeEditDataInterface does. This function exists mainly as a template customization point to handle uint16 for heights and uint8 for weights. EvalRect is half-open.
| Name | GetSelectiveLayerData |
| Type | function |
| Header File | /Engine/Source/Runtime/Landscape/Public/LandscapeEdit.h |
| Include Path | #include "LandscapeEdit.h" |
static bool GetSelectiveLayerData
(
ALandscape * Landscape,
FIntRect EvalRect,
TBitArray <> ActiveEditLayers,
TArrayView < uint16 > OutData
)