Navigation
API > API/Plugins > API/Plugins/LandscapePatch > API/Plugins/LandscapePatch/FLandscapeTexturePatchAlphaSetti-
Description
Transitions from the previous alpha source mode to the new mode. Marks the Outer owner dirty and clears internal data if needed
| Name | SetAlphaSourceMode |
| 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 |
void SetAlphaSourceMode
(
ELandscapeTexturePatchAlphaSourceMode InNewSourceMode,
UObject * InOuter,
bool bAlwaysMarkDirty
)
Parameters
| Name | Remarks |
|---|---|
| InNewSourceMode | the new alpha source mode |
| InOuter | The alpha settings owner (must be direct texture patch or weight patch info) |
| bAlwaysMarkDirty | When true, marks the outer package dirty when the source mode changes |