9#include "LandscapeLayerInfoObject.generated.h"
58UCLASS(MinimalAPI, BlueprintType)
63 UE_DEPRECATED(5.7,
"Property will be made private. Use public Getters/Setter instead.")
67 UE_DEPRECATED(5.7,
"Property will be made private. Use public Getters/Setter instead.")
68 UPROPERTY(EditAnywhere, Category =
LandscapeLayerInfoObject, Meta = (DisplayName =
"Physical Material", Tooltip =
"Physical material to use when this layer is the predominant one at a given location. Note: this is ignored if the Landscape Physical Material node is used in the landscape material. "))
71 UE_DEPRECATED(5.7,
"Property will be made private. Use public Getters/Setter instead.")
72 UPROPERTY(EditAnywhere, Category =
LandscapeLayerInfoObject, Meta = (ClampMin =
"0", ClampMax =
"1", Tooltip =
"Defines how much 'resistance' areas painted with this layer will offer to the Erosion tool. A hardness of 0 means the layer is fully affected by erosion, while 1 means fully unaffected."))
73 float Hardness = 0.0f;
75#if WITH_EDITORONLY_DATA
76 UE_DEPRECATED(5.7,
"Property will be made private. Use public Getters/Setter instead.")
77 UPROPERTY(EditAnywhere, Category =
LandscapeLayerInfoObject, Meta = (ClampMin =
"0", ClampMax =
"1", Tooltip =
"The minimum weight that needs to be painted for that layer to be picked up as the dominant physical layer."))
80 UE_DEPRECATED(5.7,
"bNoWeightBlend has been replaced by BlendMethod (false is ELandscapeTargetLayerBlendMethod::FinalWeightBlending, true is ELandscapeTargetLayerBlendMethod::None)")
84 UE_DEPRECATED(5.7,
"Property will be made private. Use public Getters/Setter instead.")
88 UE_DEPRECATED(5.7,
"Property will be made private. Use public Getters/Setter instead.")
89 UPROPERTY(EditAnywhere, Category =
SplineFalloffModulation, Meta = (DisplayName =
"Color Mask", Tooltip =
"Defines which channel of the Spline Falloff Modulation Texture to use."))
92 UE_DEPRECATED(5.7,
"Property will be made private. Use public Getters/Setter instead.")
93 UPROPERTY(EditAnywhere, Category =
SplineFalloffModulation, Meta = (DisplayName =
"Tiling", ClampMin =
"0.01", Tooltip =
"Defines the tiling to use when sampling the Spline Falloff Modulation Texture."))
96 UE_DEPRECATED(5.7,
"Property will be made private. Use public Getters/Setter instead.")
97 UPROPERTY(EditAnywhere, Category =
SplineFalloffModulation, Meta = (DisplayName =
"Bias", ClampMin =
"0", Tooltip =
"Defines the offset to use when sampling the Spline Falloff Modulation Texture."))
100 UE_DEPRECATED(5.7,
"Property will be made private. Use public Getters/Setter instead.")
101 UPROPERTY(EditAnywhere, Category =
SplineFalloffModulation, Meta = (DisplayName =
"Scale", ClampMin =
"0", Tooltip =
"Allows to scale the value sampled from the Spline Falloff Modulation Texture."))
106 UE_DEPRECATED(5.7,
"This property will be removed in a future release.")
111 UE_DEPRECATED(5.7,
"Property will be made private. Use public Getters/Setter instead.")
170 return LayerUsageDebugColor;
178#if WITH_EDITORONLY_DATA
#define GET_MEMBER_NAME_CHECKED(ClassName, MemberName)
Definition AssertionMacros.h:493
#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
#define DECLARE_MULTICAST_DELEGATE_OneParam(DelegateName, Param1Type)
Definition DelegateCombinations.h:49
ELandscapeTargetLayerBlendMethod
Definition LandscapeEditTypes.h:33
ESplineModulationColorMask
Definition LandscapeLayerInfoObject.h:48
#define UPROPERTY(...)
UObject definition macros.
Definition ObjectMacros.h:744
#define GENERATED_UCLASS_BODY(...)
Definition ObjectMacros.h:768
#define UCLASS(...)
Definition ObjectMacros.h:776
#define UENUM(...)
Definition ObjectMacros.h:749
Definition Archive.h:1208
Definition NameTypes.h:617
Definition LandscapeLayerInfoObject.h:60
static FName GetPhysicalMaterialMemberName()
Definition LandscapeLayerInfoObject.h:152
static FName GetBlendGroupMemberName()
Definition LandscapeLayerInfoObject.h:130
static FName GetHardnessMemberName()
Definition LandscapeLayerInfoObject.h:162
ELandscapeTargetLayerBlendMethod GetBlendMethod() const
Definition LandscapeLayerInfoObject.h:116
PRAGMA_DISABLE_DEPRECATION_WARNINGS const FName & GetLayerName() const
Definition LandscapeLayerInfoObject.h:138
FName GetBlendGroup() const
Definition LandscapeLayerInfoObject.h:126
const FLinearColor & GetLayerUsageDebugColor() const
Definition LandscapeLayerInfoObject.h:168
static FName GetLayerUsageDebugColorMemberName()
Definition LandscapeLayerInfoObject.h:172
static FName GetBlendMethodMemberName()
Definition LandscapeLayerInfoObject.h:120
float GetHardness() const
Definition LandscapeLayerInfoObject.h:158
static FName GetLayerNameMemberName()
Definition LandscapeLayerInfoObject.h:142
TObjectPtr< UPhysicalMaterial > GetPhysicalMaterial() const
Definition LandscapeLayerInfoObject.h:148
Definition PhysicalMaterial.h:104
Definition Texture2D.h:26
uint32 Type
Definition UnrealType.h:6835
Definition LandscapeLayerInfoObject.h:17
FOnLandscapeLayerInfoDataChangedParams(const ULandscapeLayerInfoObject &InLayerInfoObject, const FPropertyChangedEvent &InPropertyChangedEvent=FPropertyChangedEvent(nullptr))
Definition LandscapeLayerInfoObject.h:18
bool bUserTriggered
Definition LandscapeLayerInfoObject.h:28
bool bHasValueChanged
Definition LandscapeLayerInfoObject.h:38
const ULandscapeLayerInfoObject * LayerInfoObject
Definition LandscapeLayerInfoObject.h:41
FPropertyChangedEvent PropertyChangedEvent
Definition LandscapeLayerInfoObject.h:25
bool bRequiresLandscapeUpdate
Definition LandscapeLayerInfoObject.h:31
Definition UnrealType.h:6865
Definition ObjectPtr.h:488