Module |
|
Header |
/Engine/Plugins/Editor/EditorScriptingUtilities/Source/EditorScriptingUtilities/Public/EditorLevelLibrary.h |
Include |
#include "EditorLevelLibrary.h" |
Source |
/Engine/Plugins/Editor/EditorScriptingUtilities/Source/EditorScriptingUtilities/Private/EditorLevelLibrary.cpp |
[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="Editor Scripting | Dataprep")
static void ReplaceMeshComponentsMeshesOnActors
(
const TArray< class AActor * > & Actors,
class UStaticMesh * MeshToBeReplaced,
class UStaticMesh * NewMesh
)
Find the references of the mesh MeshToBeReplaced on all the MeshComponents of all the Actors provided and replace it by NewMesh.
Parameter |
Description |
---|---|
Actors |
List of Actors to search from. |
MeshToBeReplaced |
Mesh we want to replace. |
NewMesh |
Mesh to replace MeshToBeReplaced by. |