Navigation
API > API/Runtime > API/Runtime/Landscape > API/Runtime/Landscape/ULandscapeNaniteComponent
Description
Ensures the cooked cached platform data of the Nanite static mesh is finished. It is necessary to ensure that StreamablePages are loaded from DDC
| Name | InitializePlatformForLandscape |
| Type | function |
| Header File | /Engine/Source/Runtime/Landscape/Classes/LandscapeNaniteComponent.h |
| Include Path | #include "LandscapeNaniteComponent.h" |
| Source | /Engine/Source/Runtime/Landscape/Private/LandscapeNaniteComponent.cpp |
bool InitializePlatformForLandscape
(
ALandscapeProxy * Landscape,
const ITargetPlatform * TargetPlatform
)
true if the Nanite mesh creation was successful
Parameters
| Name | Remarks |
|---|---|
| Landscape | Proxy for this Nanite landscape component |
| TargetPlatform | info about the platform being cooked |