MeshPaintHelpers::TryGetNumberOfLODs

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

Unreal Engine C++ API Reference > Editor > MeshPaint > MeshPaintHelpers

References

   
Module MeshPaint
Header /Engine/Source/Editor/MeshPaint/Public/MeshPaintHelpers.h
Include #include "MeshPaintHelpers.h"
Source /Engine/Source/Editor/MeshPaint/Private/MeshPaintHelpers.cpp
static bool TryGetNumberOfLODs
(
    const [UMeshComponent](API\Runtime\Engine\Components\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


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library