Navigation
API > API/Plugins > API/Plugins/MeshPaintingToolset > API/Plugins/MeshPaintingToolset/UMeshPaintingSubsystem
References
| Module | MeshPaintingToolset |
| Header | /Engine/Plugins/MeshPainting/Source/MeshPaintingToolset/Public/MeshPaintHelpers.h |
| Include | #include "MeshPaintHelpers.h" |
| Source | /Engine/Plugins/MeshPainting/Source/MeshPaintingToolset/Private/MeshPaintHelpers.cpp |
bool TryGetNumberOfLODs
(
const UMeshComponent * MeshComponent,
int32 & OutNumLODs
)
Remarks
OutNumLODs is set to number of Mesh LODs for the given MeshComponent and returns true, or returns false of given mesh component has no valid LODs