Navigation
API > API/Runtime > API/Runtime/Landscape > API/Runtime/Landscape/ULandscapeComponent
Description
Computes the number of mips that are actually usable, i.e.:
- For 1x1 subsection, the last mip is not usable (it has a single vertex)
- For 2x2 subsections, the last 2 mips are not usable (a single vertex per subsection)
| Name | GetNumRelevantMips |
| Type | function |
| Header File | /Engine/Source/Runtime/Landscape/Classes/LandscapeComponent.h |
| Include Path | #include "LandscapeComponent.h" |
| Source | /Engine/Source/Runtime/Landscape/Private/Landscape.cpp |
int32 GetNumRelevantMips() const