Navigation
API > API/Plugins > API/Plugins/GeometryScriptingEditor > API/Plugins/GeometryScriptingEditor/GeometryActors > API/Plugins/GeometryScriptingEditor/GeometryActors/AGeneratedDynamicMeshActor
References
| Module | GeometryScriptingEditor |
| Header | /Engine/Plugins/Experimental/GeometryScripting/Source/GeometryScriptingEditor/Public/GeometryActors/GeneratedDynamicMeshActor.h |
| Include | #include "GeometryActors/GeneratedDynamicMeshActor.h" |
| Source | /Engine/Plugins/Experimental/GeometryScripting/Source/GeometryScriptingEditor/Private/GeometryActors/GeneratedDynamicMeshActor.cpp |
UFUNCTION&40;BlueprintCallable, Category&61;DynamicMeshActor&41;
void CopyPropertiesFromStaticMesh
&40;
AStaticMeshActor &42; StaticMeshActor,
bool bCopyComponentMaterials
&41;
Remarks
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)