Navigation
API > API/Plugins > API/Plugins/GeometryScriptingEditor > API/Plugins/GeometryScriptingEditor/UGeometryScriptL-
Description
Create a new StaticMesh asset from a collection of LODs represented by an array of DynamicMeshes. Save the asset at the AssetPathAndName location.
| Name | CreateNewStaticMeshAssetFromMeshLODs |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingEditor/Public/GeometryScript/CreateNewAssetUtilityFunctions.h |
| Include Path | #include "GeometryScript/CreateNewAssetUtilityFunctions.h" |
| Source | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingEditor/Private/CreateNewAssetUtilityFunctions.cpp |
UFUNCTION (BlueprintCallable, Category="GeometryScript|AssetManagement",
Meta=(HidePin="Debug", ScriptName="CreateNewStaticMeshAssetFromMeshLods;CreateNewStaticMeshAssetFromMeshLODs", ExpandEnumAsExecs="Outcome"))
static UStaticMesh * CreateNewStaticMeshAssetFromMeshLODs
(
TArray < UDynamicMesh * > FromDynamicMesh,
FString AssetPathAndName,
FGeometryScriptCreateNewStaticMeshAssetOptions Options,
EGeometryScriptOutcomePins & Outcome,
UGeometryScriptDebug * Debug
)