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 |
UFUNCTION (BlueprintCallable,
Meta=(DisplayName="Landscape Import Weightmap from RenderTarget", Keywords="Push RenderTarget to Landscape Weightmap", UnsafeDuringActorConstruction="true"),
Category=Rendering)
bool LandscapeImportWeightmapFromRenderTarget
(
UTextureRenderTarget2D * InRenderTarget,
FName InLayerName
)
Remarks
Overwrites a landscape weightmap with render target data Only works in the editor