Navigation
API > API/Plugins > API/Plugins/LandscapePatch > API/Plugins/LandscapePatch/ULandscapePatchComponent
Description
For now we keep the patches largely editor-only, since we don't yet support runtime landscape editing. The above functions are also editor-only (and don't work at runtime), but can't be in WITH_EDITOR blocks so that they can be called from non-editor-only classes in editor contexts. Cleanup method that can be used to fix the patch's binding to a landscape. An arbitrary landscape will be bound to if no guid, or no landscape is set on the patch.
| Name | FixBindings |
| Type | function |
| Header File | /Engine/Plugins/Editor/LandscapePatch/Source/LandscapePatch/Public/LandscapePatchComponent.h |
| Include Path | #include "LandscapePatchComponent.h" |
| Source | /Engine/Plugins/Editor/LandscapePatch/Source/LandscapePatch/Private/LandscapePatchComponent.cpp |
void FixBindings()