Navigation
API > API/Plugins > API/Plugins/EditorScriptingUtilities > API/Plugins/EditorScriptingUtilities/UDEPRECATED_EditorStaticMeshLibr-
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static int32 SetLodsWithNotification
(
UStaticMesh* StaticMesh, |
Remove then add LODs on a static mesh. | EditorStaticMeshLibrary.h | |
static int32 SetLodsWithNotification
(
UStaticMesh* StaticMesh, |
The functions below are BP exposed copies of functions that use deprecated structs, updated to the new structs in StaticMeshEditorSubsytem The old structs redirect to the new ones, so this makes blueprints that use the old structs still work The old functions are still available as an overload, which makes old code that uses them compatible | EditorStaticMeshLibrary.h |
|
SetLodsWithNotification(UStaticMesh *, const FEditorScriptingMeshReductionOptions_Deprecated &, bool)
Description
Remove then add LODs on a static mesh. The static mesh must have at least LOD 0. The LOD 0 of the static mesh is kept after removal. The build settings of LOD 0 will be applied to all subsequent LODs.
| Name | SetLodsWithNotification |
| Type | function |
| Header File | /Engine/Plugins/Editor/EditorScriptingUtilities/Source/EditorScriptingUtilities/Public/EditorStaticMeshLibrary.h |
| Include Path | #include "EditorStaticMeshLibrary.h" |
| Source | /Engine/Plugins/Editor/EditorScriptingUtilities/Source/EditorScriptingUtilities/Private/EditorStaticMeshLibrary.cpp |
static int32 SetLodsWithNotification
(
UStaticMesh * StaticMesh,
const FEditorScriptingMeshReductionOptions_Deprecated & ReductionOptions,
bool bApplyChanges
)
the number of LODs generated on the input mesh. An negative value indicates that the reduction could not be performed. See log for explanation. No action will be performed if ReductionOptions.ReductionSettings is empty
Parameters
| Name | Remarks |
|---|---|
| StaticMesh | Mesh to process. |
| ReductionOptions | Options on how to generate LODs on the mesh. |
| bApplyChanges | Indicates if change must be notified. |
SetLodsWithNotification(UStaticMesh *, const FStaticMeshReductionOptions &, bool)
Description
The functions below are BP exposed copies of functions that use deprecated structs, updated to the new structs in StaticMeshEditorSubsytem The old structs redirect to the new ones, so this makes blueprints that use the old structs still work The old functions are still available as an overload, which makes old code that uses them compatible
| Name | SetLodsWithNotification |
| Type | function |
| Header File | /Engine/Plugins/Editor/EditorScriptingUtilities/Source/EditorScriptingUtilities/Public/EditorStaticMeshLibrary.h |
| Include Path | #include "EditorStaticMeshLibrary.h" |
| Source | /Engine/Plugins/Editor/EditorScriptingUtilities/Source/EditorScriptingUtilities/Private/EditorStaticMeshLibrary.cpp |
UFUNCTION (BlueprintCallable, Category="Editor Scripting | StaticMesh",
Meta=(DeprecatedFunction, DeprecationMessage="The Editor Scripting Utilities Plugin is deprecated - Use the function in Static Mesh Editor Subsystem"))
static int32 SetLodsWithNotification
(
UStaticMesh * StaticMesh,
const FStaticMeshReductionOptions & ReductionOptions,
bool bApplyChanges
)