Module |
|
Header |
/Engine/Plugins/Editor/EditorScriptingUtilities/Source/EditorScriptingUtilities/Public/EditorSkeletalMeshLibrary.h |
Include |
#include "EditorSkeletalMeshLibrary.h" |
Source |
/Engine/Plugins/Editor/EditorScriptingUtilities/Source/EditorScriptingUtilities/Private/EditorSkeletalMeshLibrary.cpp |
[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="Editor Scripting | StaticMesh")
static int32 GetLODMaterialSlot
(
USkeletalMesh * SkeletalMesh,
int32 LODIndex,
int32 SectionIndex
)
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.
Parameter |
Description |
---|---|
SkeletalMesh |
SkeletalMesh to get the material index from. |
LODIndex |
Index of the StaticMesh LOD. |
SectionIndex |
Index of the StaticMesh Section. |