UEditorSkeletalMeshLibrary::GetLODMaterialSlot

Gets the material slot used for a specific LOD section.

Windows
MacOS
Linux

References

Module

EditorScriptingUtilities

Header

/Engine/Plugins/Editor/EditorScriptingUtilities/Source/EditorScriptingUtilities/Public/EditorSkeletalMeshLibrary.h

Include

#include "EditorSkeletalMeshLibrary.h"

Source

/Engine/Plugins/Editor/EditorScriptingUtilities/Source/EditorScriptingUtilities/Private/EditorSkeletalMeshLibrary.cpp

Syntax

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="Editor Scripting | StaticMesh")
static int32 GetLODMaterialSlot
(
    USkeletalMesh * SkeletalMesh,
    int32 LODIndex,
    int32 SectionIndex
)

Remarks

Gets the material slot used for a specific LOD section.

Returns

MaterialSlotIndex Index of the material slot used by the section or INDEX_NONE in case of error.

Parameters

Parameter

Description

SkeletalMesh

SkeletalMesh to get the material index from.

LODIndex

Index of the StaticMesh LOD.

SectionIndex

Index of the StaticMesh Section.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss