Navigation
API > API/Editor > API/Editor/StaticMeshEditor > API/Editor/StaticMeshEditor/UStaticMeshEditorSubsystem
References
| Module | StaticMeshEditor |
| Header | /Engine/Source/Editor/StaticMeshEditor/Public/StaticMeshEditorSubsystem.h |
| Include | #include "StaticMeshEditorSubsystem.h" |
| Source | /Engine/Source/Editor/StaticMeshEditor/Private/StaticMeshEditorSubsystem.cpp |
int32 GetLODMaterialSlot
&40;
UStaticMesh &42; StaticMesh,
int32 LODIndex,
int32 SectionIndex
&41;
Remarks
Gets the material slot used for a specific LOD section. MaterialSlotIndex Index of the material slot used by the section or INDEX_NONE in case of error.
Parameters
| Name | Description |
|---|---|
| StaticMesh | Static mesh to get the material index from. |
| LODIndex | Index of the StaticMesh LOD. |
| SectionIndex | Index of the StaticMesh Section. |