Navigation
API > API/Runtime > API/Runtime/Landscape > API/Runtime/Landscape/ALandscapeProxy
References
| Module | Landscape |
| Header | /Engine/Source/Runtime/Landscape/Classes/LandscapeProxy.h |
| Include | #include "LandscapeProxy.h" |
| Source | /Engine/Source/Runtime/Landscape/Private/LandscapeEdit.cpp |
bool LandscapeExportHeightmapToRenderTarget
&40;
UTextureRenderTarget2D &42; InRenderTarget,
bool InExportHeightIntoRGChannel,
bool InExportLandscapeProxies
&41;
Remarks
Output a landscape heightmap to a render target
Parameters
| Name | Description |
|---|---|
| InRenderTarget | Valid render target with a format of RTF_RGBA16f, RTF_RGBA32f or RTF_RGBA8 |
| InExportHeightIntoRGChannel | Tell us if we should export the height that is internally stored as R & G (for 16 bits) to a single R channel of the render target (the format need to be RTF_RGBA16f or RTF_RGBA32f) Note that using RTF_RGBA16f with InExportHeightIntoRGChannel == false, could have precision loss. |
| InExportLandscapeProxies | Option to also export components of all proxies of Landscape actor (if LandscapeProxy is the Landscape Actor) |