Navigation
API > API/Runtime > API/Runtime/Landscape > API/Runtime/Landscape/ULandscapeInfo
References
| Module | Landscape |
| Header | /Engine/Source/Runtime/Landscape/Classes/LandscapeInfo.h |
| Include | #include "LandscapeInfo.h" |
| Source | /Engine/Source/Runtime/Landscape/Private/Landscape.cpp |
bool MarkObjectDirty
(
UObject * InObject,
bool bInForceResave,
const ALandscape * InLandscapeOverride
)
Remarks
See UObjectBaseUtility::MarkPackageDirty true if the object could not be marked dirty but has been added to the list of ModifiedPackages
Parameters
| Name | Description |
|---|---|
| InObject | Object to mark dirty. Must be either a ALandscapeProxy or one of its inner objects |
| bInForceResave | passed to true in order to bypass the bDirtyOnlyInMode and force the object into the list of modified packages. This ensures the object is marked as needing resaving in case we want to help the user re-save its landscape actors (e.g. following a data fixup) |
| InLandscapeOverride | if set, MarkObjectDirty will use this ALandscape instead of the local one in the method. |