Navigation
API > API/Plugins > API/Plugins/ModelingComponents > API/Plugins/ModelingComponents/AssetUtils
References
| Module | ModelingComponents |
| Header | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/AssetUtils/StaticMeshMaterialUtil.h |
| Include | #include "AssetUtils/StaticMeshMaterialUtil.h" |
| Source | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Private/AssetUtils/StaticMeshMaterialUtil.cpp |
namespace UE
{
namespace AssetUtils
{
bool UE&58;&58;AssetUtils&58;&58;GetStaticMeshLODMaterialListBySection
&40;
UStaticMesh &42; StaticMeshAsset,
int32 LODIndex,
TArray< UMaterialInterface &42; > & MaterialListOut,
TArray< int32 > & MaterialIndexOut
&41;
}
}
Remarks
Construct the linear per-section material list for a given LODIndex of a StaticMeshAsset
Parameters
| Name | Description |
|---|---|
| MaterialListOut | the list of linear per-section indices into the Asset Material List |
| MaterialIndexOut | the corresponding list of linear per-section indices into the Asset Material List |