Navigation
API > API/Runtime > API/Runtime/Landscape > API/Runtime/Landscape/ILandscapeEditorServices
- ILandscapeEditorServices::GetOrCreateEditLayer()
- FLandscapeEditorServices::GetOrCreateEditLayer()
References
| Module | Landscape |
| Header | /Engine/Source/Runtime/Landscape/Public/LandscapeEditorServices.h |
| Include | #include "LandscapeEditorServices.h" |
int32 GetOrCreateEditLayer
&40;
FName InEditLayerName,
ALandscape &42; InTargetLandscape
&41;
Remarks
Attempts to find an edit layer named InEditLayerName in InTargetLandscape. Creates the layer if it does not exist. The index at which the edit layer named InEditLayerName exists
Parameters
| Name | Description |
|---|---|
| InEditLayerName | The name of the layer to search for and possibly create |
| InTargetLandscape | The landscape which should have a layer called InEditLayerName |