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

#include <LandscapeEditLayer.h>

Public Member Functions

 FOnLandscapeEditLayerDataChangedParams (const FPropertyChangedEvent &InPropertyChangedEvent=FPropertyChangedEvent(nullptr))
 

Public Attributes

FPropertyChangedEvent PropertyChangedEvent
 
bool bUserTriggered = false
 
bool bRequiresLandscapeUpdate = true
 
bool bHasValueChanged = true
 

Constructor & Destructor Documentation

◆ FOnLandscapeEditLayerDataChangedParams()

FOnLandscapeEditLayerDataChangedParams::FOnLandscapeEditLayerDataChangedParams ( const FPropertyChangedEvent InPropertyChangedEvent = FPropertyChangedEvent(nullptr))
inline

Member Data Documentation

◆ bHasValueChanged

bool FOnLandscapeEditLayerDataChangedParams::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 FOnLandscapeEditLayerDataChangedParams::bRequiresLandscapeUpdate = true

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

◆ bUserTriggered

bool FOnLandscapeEditLayerDataChangedParams::bUserTriggered = false

Indicates a user-initiated property change

◆ PropertyChangedEvent

FPropertyChangedEvent FOnLandscapeEditLayerDataChangedParams::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: