Navigation
API > API/Plugins > API/Plugins/LandscapePatch
Actor used in legacy landscape patch handling where a manager keeps a serialized list of patches that determines their priority. This approach is deprecated- patches now point to a special landscape patch edit layer via a guid, and determine their ordering relative to each other using a priority value.
| Name | ADEPRECATED_LandscapePatchManager |
| Type | class |
| Header File | /Engine/Plugins/Editor/LandscapePatch/Source/LandscapePatch/Public/LandscapePatchManager.h |
| Include Path | #include "LandscapePatchManager.h" |
Syntax
UCLASS (Deprecated,
Meta=(DeprecationMessage="Landscape patches are now fully handled by ULandscapePatchEditLayer and migration is automatic so effectively, this actor is only there for backwards-compatibility/serialization purposes"))
class ADEPRECATED_LandscapePatchManager : public ALandscapeBlueprintBrushBase
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → AActor → ALandscapeBlueprintBrushBase → ADEPRECATED_LandscapePatchManager
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
ADEPRECATED_LandscapePatchManager
(
const FObjectInitializer& ObjectInitializer |
LandscapePatchManager.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| LEGACY_PATCH_PRIORITY_BASE | const double | This is intentionally lower than PATCH_PRIORITY_BASE so that patches converted from a patch manager list are applied before other edit layer patches. | LandscapePatchManager.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bDead | bool | This patch manager has been migrated out of and should no longer be accessible. | LandscapePatchManager.h | |
| PatchComponents | TArray< TSoftObjectPtr< ULandscapePatchComponent > > | LandscapePatchManager.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddPatch
(
ULandscapePatchComponent* Patch |
LandscapePatchManager.h |
|
|
bool ContainsPatch
(
ULandscapePatchComponent* Patch |
LandscapePatchManager.h |
|
|
virtual FTransform GetHeightmapCoordsToWorld() |
Deprecated | LandscapePatchManager.h | |
int32 GetIndexOfPatch
(
const ULandscapePatchComponent* Patch |
LandscapePatchManager.h |
|
|
virtual bool IsEditorOnly() |
LandscapePatchManager.h | ||
void MigrateToPrioritySystemAndDelete () |
Move any patches from legacy patch list to being bound directly to an edit layer, and delete the patch manager. | LandscapePatchManager.h |
|
void MovePatchToIndex
(
ULandscapePatchComponent* Patch, |
LandscapePatchManager.h |
|
|
virtual bool NeedsLoadForClient() |
LandscapePatchManager.h | ||
virtual bool NeedsLoadForServer() |
LandscapePatchManager.h | ||
virtual void PostRegisterAllComponents() |
AActor. | LandscapePatchManager.h | |
bool RemovePatch
(
ULandscapePatchComponent* Patch |
LandscapePatchManager.h |
|
|
virtual void SetTargetLandscape
(
ALandscape* InOwningLandscape |
Adds the brush to the given landscape, removing it from any previous one. | LandscapePatchManager.h |
|
Overridden from ALandscapeBlueprintBrushBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool AffectsHeightmap() |
LandscapePatchManager.h | ||
virtual bool AffectsVisibilityLayer() |
LandscapePatchManager.h | ||
virtual bool AffectsWeightmap() |
LandscapePatchManager.h | ||
virtual bool AffectsWeightmapLayer
(
const FName& InLayerName |
LandscapePatchManager.h | ||
virtual bool CanAffectWeightmapLayer
(
const FName& InLayerName |
ALandscapeBlueprintBrushBase. | LandscapePatchManager.h | |
virtual void GetRenderDependencies
(
TSet< UObject* >& OutDependencies |
LandscapePatchManager.h | ||
virtual bool SupportsBlueprintBrushTool() |
In 5.6 users should not be able to add new Patch Managers anywhere in the editor. | LandscapePatchManager.h |
Overridden from ILandscapeEditLayerRenderer
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void GetRendererStateInfo
(
const UE::Landscape::EditLayers::FMergeContext* InMergeContext, |
ILandscapeEditLayerRenderer Deprecated | LandscapePatchManager.h | |
virtual TArray< UE::Landscape::EditLayers::FEditLayerRenderItem > GetRenderItems
(
const UE::Landscape::EditLayers::FMergeContext* InMergeContext |
Deprecated. | LandscapePatchManager.h | |
virtual bool RenderLayer
(
UE::Landscape::EditLayers::FRenderParams& RenderParams, |
Deprecated. | LandscapePatchManager.h |
Overridden from IEditLayerRendererProvider
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual TArray< UE::Landscape::EditLayers::FEditLayerRendererState > GetEditLayerRendererStates
(
const UE::Landscape::EditLayers::FMergeContext* InMergeContext |
IEditLayerRendererProvider Deprecated | LandscapePatchManager.h |