Navigation
API > API/Runtime > API/Runtime/Landscape > API/Runtime/Landscape/ALandscape
References
| Module | Landscape |
| Header | /Engine/Source/Runtime/Landscape/Classes/Landscape.h |
| Include | #include "Landscape.h" |
| Source | /Engine/Source/Runtime/Landscape/Private/LandscapeEditLayers.cpp |
int32 CreateLayer
(
FName InName,
const TSubclassOf< ULandscapeEditLayerBase > & InEditLayerClass
)
Remarks
Creates a new edit layer @Param InName is the name of the new edit layer @Param InEditLayerClass is the class of the edit layer to create. Passing null will create a standard layer of type ULandscapeEditLayer the index of the newly-created layer