Navigation
API > API/Plugins > API/Plugins/LandscapePatch > API/Plugins/LandscapePatch/ULandscapeTexturePatch
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual UTextureRenderTarget2D * GetWeightPatchAlphaRenderTarget
(
const FName& InWeightmapLayerName, |
Gets the internal weight patch alpha render target, if the weight patch alpha source mode is set to Texture Backed Render Target Returns a reference to the default (shared) weightmap alpha render target unless the given weightmap patch overrides the default alpha settings | LandscapeTexturePatch.h |
|
UTextureRenderTarget2D * GetWeightPatchAlphaRenderTarget
(
ULandscapeWeightPatchTextureInfo* WeightPatch, |
Returns the default weight patch alpha render target or the specific weight patch override render target | LandscapeTexturePatch.h |
GetWeightPatchAlphaRenderTarget(const FName &, bool)
Description
Gets the internal weight patch alpha render target, if the weight patch alpha source mode is set to Texture Backed Render Target Returns a reference to the default (shared) weightmap alpha render target unless the given weightmap patch overrides the default alpha settings
- The alpha uses RenderTargetFormat RTF_R8 by default. The AlphaTextureChannel property defines the single color channel storing the Alpha data
| Name | GetWeightPatchAlphaRenderTarget |
| 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 UTextureRenderTarget2D * GetWeightPatchAlphaRenderTarget
(
const FName & InWeightmapLayerName,
bool bMarkDirty
)
Parameters
| Name | Remarks |
|---|---|
| bMarkDirty | If true, marks the containing package as dirty, since the render target is presumably being written to. Can be set to false if the render target is not being written to. |
GetWeightPatchAlphaRenderTarget(ULandscapeWeightPatchTextureInfo *, bool)
Description
Returns the default weight patch alpha render target or the specific weight patch override render target
| Name | GetWeightPatchAlphaRenderTarget |
| 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 |
UTextureRenderTarget2D * GetWeightPatchAlphaRenderTarget
(
ULandscapeWeightPatchTextureInfo * WeightPatch,
bool bMarkDirty
)