Navigation
API > API/Plugins > API/Plugins/GeometryScriptingEditor > API/Plugins/GeometryScriptingEditor/AGeneratedDynamicMeshActor
Description
Attempt to copy Actor Properties from a StaticMeshActor. Optionally copy DynamicMeshComponent material list to the StaticMeshComponent. This function is useful when (eg) swapping from a StaticMeshActor to a DynamicMeshActor as it will allow many configured Actor settings to be preserved (like assigned DataLayers, etc)
| Name | CopyPropertiesFromStaticMesh |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingEditor/Public/GeometryActors/GeneratedDynamicMeshActor.h |
| Include Path | #include "GeometryActors/GeneratedDynamicMeshActor.h" |
| Source | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingEditor/Private/GeometryActors/GeneratedDynamicMeshActor.cpp |
UFUNCTION (BlueprintCallable, Category=DynamicMeshActor)
void CopyPropertiesFromStaticMesh
(
AStaticMeshActor * StaticMeshActor,
bool bCopyComponentMaterials
)