Navigation
API > API/Plugins > API/Plugins/ModelingComponents
References
| Module | ModelingComponents |
| Header | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/ModelingToolTargetUtil.h |
| Include | #include "ModelingToolTargetUtil.h" |
| Source | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Private/ModelingToolTargetUtil.cpp |
namespace UE
{
namespace ToolTarget
{
TArray < EMeshLODIdentifier > UE::ToolTarget::GetMeshDescriptionLODs
(
UToolTarget * Target,
bool & bOutTargetSupportsLODs,
bool bOnlyReturnDefaultLOD,
bool bExcludeAutoGeneratedLODs
)
}
}
An array of valid LODs for the mesh data underlying the ToolTarget, or just the Default LOD if the target doesn't support LODs or bOnlyReturnDefaultLOD is true
Parameters
| Name | Description |
|---|---|
| Target | The tool target to query for LODs |
| bOutTargetSupportsLODs | Will be set to 'false' if the target does not support querying MeshDescriptions with LODs |
| bOnlyReturnDefaultLOD | If true, always return an array of just the Default LOD |
| bExcludeAutoGeneratedLODs | If true, exclude any auto-generated LODs (which have no associated Mesh Description) from the LOD list |