Navigation
API > API/Runtime > API/Runtime/Landscape > API/Runtime/Landscape/ULandscapeComponent
References
| Module | Landscape |
| Header | /Engine/Source/Runtime/Landscape/Classes/LandscapeComponent.h |
| Include | #include "LandscapeComponent.h" |
| Source | /Engine/Source/Runtime/Landscape/Private/Landscape.cpp |
int32 GetNumRelevantMips() const
Remarks
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)