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 EnableSectionCastShadow
(
UStaticMesh * StaticMesh,
bool bCastShadow,
int32 LODIndex,
int32 SectionIndex
)
Enables/disables mesh section shadow casting for a specific LOD.
Parameter |
Description |
---|---|
StaticMesh |
Static mesh to Enables/disables shadow casting from. |
bCastShadow |
If the section should cast shadow. |
LODIndex |
Index of the StaticMesh LOD. |
SectionIndex |
Index of the StaticMesh Section. |