Module |
|
Header |
/Engine/Plugins/Editor/EditorScriptingUtilities/Source/EditorScriptingUtilities/Public/EditorStaticMeshLibrary.h |
Include |
#include "EditorStaticMeshLibrary.h" |
Source |
/Engine/Plugins/Editor/EditorScriptingUtilities/Source/EditorScriptingUtilities/Private/EditorStaticMeshLibrary.cpp |
[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="Editor Scripting | StaticMesh")
static void SetLODMaterialSlot
(
UStaticMesh * StaticMesh,
int32 MaterialSlotIndex,
int32 LODIndex,
int32 SectionIndex
)
Sets the material slot for a specific LOD.
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. |