UEditorStaticMeshLibrary::SetLODMaterialSlot

Sets the material slot for a specific LOD.

Windows
MacOS
Linux

References

Module

EditorScriptingUtilities

Header

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

Include

#include "EditorStaticMeshLibrary.h"

Source

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

Syntax

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="Editor Scripting | StaticMesh")
static void SetLODMaterialSlot
(
    UStaticMesh * StaticMesh,
    int32 MaterialSlotIndex,
    int32 LODIndex,
    int32 SectionIndex
)

Remarks

Sets the material slot for a specific LOD.

Parameters

Parameter

Description

StaticMesh

Static mesh to Enables/disables shadow casting from.

MaterialSlotIndex

Index of the material slot to use.

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