UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FOnLandscapeLayerInfoDataChangedParams Struct Reference

#include <LandscapeLayerInfoObject.h>

Public Member Functions

 FOnLandscapeLayerInfoDataChangedParams (const ULandscapeLayerInfoObject &InLayerInfoObject, const FPropertyChangedEvent &InPropertyChangedEvent=FPropertyChangedEvent(nullptr))
 

Public Attributes

FPropertyChangedEvent PropertyChangedEvent
 
bool bUserTriggered = false
 
bool bRequiresLandscapeUpdate = true
 
bool bHasValueChanged = true
 
const ULandscapeLayerInfoObjectLayerInfoObject = nullptr
 

Constructor & Destructor Documentation

◆ FOnLandscapeLayerInfoDataChangedParams()

FOnLandscapeLayerInfoDataChangedParams::FOnLandscapeLayerInfoDataChangedParams ( const ULandscapeLayerInfoObject InLayerInfoObject,
const FPropertyChangedEvent InPropertyChangedEvent = FPropertyChangedEvent(nullptr) 
)
inline

Member Data Documentation

◆ bHasValueChanged

bool FOnLandscapeLayerInfoDataChangedParams::bHasValueChanged = true

The delegate is triggered each time a data change is requested, even when the data didn't actually change. This indicates that the was actually modified. This can occur for example when several EPropertyChangeType::Interactive changes are triggered because of the user manipulating a slider : this will be followed by a final EPropertyChangeType::ValueSet but when this occurs, the data usually is not actually modified so, to be consistent, we'll still trigger the delegate but indicate that the value didn't actually change, to let the user react appropriately

◆ bRequiresLandscapeUpdate

bool FOnLandscapeLayerInfoDataChangedParams::bRequiresLandscapeUpdate = true

Indicates the change requires a full landscape update (e.g. parameter affecting heightmap or weightmap...)

◆ bUserTriggered

bool FOnLandscapeLayerInfoDataChangedParams::bUserTriggered = false

Indicates a user-initiated property change

◆ LayerInfoObject

const ULandscapeLayerInfoObject* FOnLandscapeLayerInfoDataChangedParams::LayerInfoObject = nullptr

Pointer to the ULandscapeLayerInfoObject that broadcast the data change event

◆ PropertyChangedEvent

FPropertyChangedEvent FOnLandscapeLayerInfoDataChangedParams::PropertyChangedEvent

Provides some additional context about how data has changed (property, type of change...)


The documentation for this struct was generated from the following file: