Navigation
API > API/Runtime > API/Runtime/Landscape > API/Runtime/Landscape/ULandscapeNaniteComponent
References
| Module | Landscape |
| Header | /Engine/Source/Runtime/Landscape/Classes/LandscapeNaniteComponent.h |
| Include | #include "LandscapeNaniteComponent.h" |
| Source | /Engine/Source/Runtime/Landscape/Private/LandscapeNaniteComponent.cpp |
bool InitializeForLandscape
&40;
ALandscapeProxy &42; Landscape,
const FGuid & NewProxyContentId,
const TArrayView< ULandscapeComponent &42; > & InComponentsToExport,
int32 InNaniteComponentIndex
&41;
Remarks
Generates the Nanite static mesh, stores the content Id. true if the Nanite mesh creation was successful
Parameters
| Name | Description |
|---|---|
| Landscape | Proxy to generate the mesh for |
| NewProxyContentId | Hash of the content that this mesh corresponds to |