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::AssetUtils::GetStaticMeshLODMaterialListBySection
(
UStaticMesh * StaticMeshAsset,
int32 LODIndex,
TArray < UMaterialInterface * > & MaterialListOut,
TArray < int32 > & MaterialIndexOut,
TArray < FName > & MaterialSlotNameOut
)
}
}
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 |
| MaterialSlotNameOut | the corresponding list of material slot names |