Navigation
API > API/Plugins > API/Plugins/LandscapePatch > API/Plugins/LandscapePatch/ULandscapeTexturePatch
Description
Sets the weight texture's alpha UV transform. Transform is applied relative UVSpace unless struct property bInWorldSpaceScale is true
| Name | SetWeightPatchAlphaTextureTransform |
| 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 SetWeightPatchAlphaTextureTransform
(
const FName & InWeightmapLayerName,
const FLandscapeTexturePatchTextureTransform & InTextureTransform,
bool bAlwaysMarkDirty
)
Parameters
| Name | Remarks |
|---|---|
| InWeightmapLayerName | weightmap layer name to set the texture transform |
| InTextureTransform | the weight alpha texture's transform |
| bAlwaysMarkDirty | mark the package dirty when alpha transform changes |