Navigation
API > API/Editor > API/Editor/StaticMeshEditor > API/Editor/StaticMeshEditor/UStaticMeshEditorSubsystem
References
| Module | StaticMeshEditor |
| Header | /Engine/Source/Editor/StaticMeshEditor/Public/StaticMeshEditorSubsystem.h |
| Include | #include "StaticMeshEditorSubsystem.h" |
| Source | /Engine/Source/Editor/StaticMeshEditor/Private/StaticMeshEditorSubsystem.cpp |
void ReplaceMeshComponentsMeshesOnActors
&40;
const TArray< class AActor &42; > & Actors,
class UStaticMesh &42; MeshToBeReplaced,
class UStaticMesh &42; NewMesh
&41;
Remarks
Find the references of the mesh MeshToBeReplaced on all the MeshComponents of all the Actors provided and replace it by NewMesh.
Parameters
| Name | Description |
|---|---|
| Actors | List of Actors to search from. |
| MeshToBeReplaced | Mesh we want to replace. |
| NewMesh | Mesh to replace MeshToBeReplaced by. |