Navigation
API > API/Runtime > API/Runtime/Landscape > API/Runtime/Landscape/ALandscapeProxy > API/Runtime/Landscape/ALandscapeProxy/CreateLayerInfo
References
| Module | Landscape |
| Header | /Engine/Source/Runtime/Landscape/Classes/LandscapeProxy.h |
| Include | #include "LandscapeProxy.h" |
| Source | /Engine/Source/Runtime/Landscape/Private/LandscapeEdit.cpp |
static ULandscapeLayerInfoObject * CreateLayerInfo
(
const TCHAR * InLayerName,
const ULevel * InLevel,
const ULandscapeLayerInfoObject * InTemplate
)
Remarks
Creates a new LandscapeLayerInfoObject a new LandscapeLayerInfoObject if created successfully.
Parameters
| Name | Description |
|---|---|
| LayerName | The name of the created Layer |
| Level | The Level tied to LandscapeLayerInfoObject. The new package's location will be relative to this Level. |
| InTemplate | If set, this object will be cloned as a basis for the new LandscapeLayerInfoObject. |