UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
GlobalMergeLegacySupportUtil.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "Math/MathFwd.h" // FTransform, FIntPoint
6#include "Misc/CoreMiscDefines.h" // PURE_VIRTUAL
7#include "UObject/Interface.h"
8
9#include "GlobalMergeLegacySupportUtil.generated.h"
10
11// Note: this file is likely to be removed once global merge is fully phased out.
12
15
16class UE_DEPRECATED(5.7, "Global merge has been deprecated so this is no longer used. There's no good way of deprecating UInterfaces ATM, hence this forward-declaration") ULandscapeBrushRenderCallAdapter_GlobalMergeLegacySupport {};
17class UE_DEPRECATED(5.7, "Global merge has been deprecated so this is no longer used. There's no good way of deprecating UInterfaces ATM, hence this forward-declaration") ILandscapeBrushRenderCallAdapter_GlobalMergeLegacySupport {};
18
19// UObject for the UInterface
20UINTERFACE(MinimalAPI)
25
35{
37
38#if WITH_EDITOR
39public:
46
47 // Called in the same places as the equivalent methods on FLandscapeLayerBrush.
48 virtual bool AffectsHeightmapAsBlueprintBrush() const { return false; }
49 virtual bool AffectsWeightmapLayerAsBlueprintBrush(const FName& InLayerName) const { return false; }
50 virtual bool AffectsVisibilityLayerAsBlueprintBrush() const { return false; }
51
52protected:
53
54 // Overridable, equivalent to Initialize_Native on a blueprint brush actor
58
59 // Overridable, equivalent to RenderLayer_Native on a blueprint brush actor.
61 PURE_VIRTUAL(ILandscapeBrushRenderCallAdapter_GlobalMergeLegacySupport_DEPRECATED::InitializeAsBlueprintBrush, return nullptr; );
62
63 // Used in RenderAsBlueprintBrush to cache things the same way that blueprint brushes do
67#endif
68};
#define PURE_VIRTUAL(func,...)
Definition CoreMiscDefines.h:103
@ ForceInitToZero
Definition CoreMiscDefines.h:156
#define UE_DEPRECATED(Version, Message)
Definition CoreMiscDefines.h:302
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
FInt32Point FIntPoint
Definition MathFwd.h:124
#define GENERATED_BODY(...)
Definition ObjectMacros.h:765
#define UINTERFACE(...)
Definition ObjectMacros.h:780
Definition NameTypes.h:617
Definition Interface.h:19
Definition TextureRenderTarget2D.h:104
Definition LandscapeBlueprintBrushBase.h:17
Definition IntPoint.h:25