Navigation
API > API/Plugins > API/Plugins/LandscapePatch
| Name | FLandscapeTexturePatchAlphaSettings |
| Type | struct |
| Header File | /Engine/Plugins/Editor/LandscapePatch/Source/LandscapePatch/Public/LandscapeTexturePatch.h |
| Include Path | #include "LandscapeTexturePatch.h" |
Syntax
USTRUCT (BlueprintType )
struct FLandscapeTexturePatchAlphaSettings
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AlphaTextureChannel | ELandscapeTexturePatchTextureChannel | Texture channel utilized for the alpha mask. The texture alpha channel is used by default. | LandscapeTexturePatch.h |
|
| AlphaTextureUVTransform | FLandscapeTexturePatchTextureTransform | Alpha texture's UV transform (Scale, Offset, Rotation) | LandscapeTexturePatch.h |
|
| DetailPanelAlphaSourceMode | ELandscapeTexturePatchAlphaSourceMode | How the alpha texture is stored. | LandscapeTexturePatch.h |
|
| DisallowedAssetDataTags | LandscapeTexturePatch.h |
|
||
| EditCondition | Alpha Texture to use when the source mode is set to texture asset. | LandscapeTexturePatch.h |
|
|
| InternalAlphaData | TObjectPtr< ULandscapeWeightTextureBackedRenderTarget > | Not directly settable via detail panel- for alpha display/debugging purposes only. | LandscapeTexturePatch.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AlphaSourceMode | ELandscapeTexturePatchAlphaSourceMode | When the source mode changes, there are transition steps that need run to clean up render targets / internal data. | LandscapeTexturePatch.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UTexture2D * GetAlphaInternalTexture
(
UObject* InOuter, |
When alpha source mode is InternalTexture/TextureBackedRenderTarget returns the alpha internal texture. | LandscapeTexturePatch.h | |
UTextureRenderTarget2D * GetAlphaRenderTarget
(
UObject* InOuter, |
When alpha source mode is TextureBackedRenderTarget returns the alpha render target. | LandscapeTexturePatch.h | |
ELandscapeTexturePatchAlphaSourceMode GetAlphaSourceMode() |
LandscapeTexturePatch.h | ||
void SetAlphaSourceMode
(
ELandscapeTexturePatchAlphaSourceMode InNewSourceMode, |
Transitions from the previous alpha source mode to the new mode. | LandscapeTexturePatch.h |