Navigation
API > API/Plugins > API/Plugins/LandscapePatch > API/Plugins/LandscapePatch/ULandscapeTexturePatch
Description
Changes the source mode of the height patch alpha data. There are currently no API guarantees regarding the initialization of the new alpha source data. E.g. when first switching to use an internal render target, the data in that render target may not be initialized.
| Name | SetHeightAlphaSourceMode |
| Type | function |
| Header File | /Engine/Plugins/Editor/LandscapePatch/Source/LandscapePatch/Public/LandscapeTexturePatch.h |
| Include Path | #include "LandscapeTexturePatch.h" |
| Source | /Engine/Plugins/Editor/LandscapePatch/Source/LandscapePatch/Private/LandscapeTexturePatch.cpp |
UFUNCTION (BlueprintCallable, Category=LandscapePatch)
virtual void SetHeightAlphaSourceMode
(
ELandscapeTexturePatchAlphaSourceMode InNewMode,
bool bAlwaysMarkDirty
)