Navigation
API > API/Plugins > API/Plugins/ModelingComponentsEditorOnly > API/Plugins/ModelingComponentsEditorOnly/AssetUtils
References
| Module | ModelingComponentsEditorOnly |
| Header | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponentsEditorOnly/Public/AssetUtils/CreateStaticMeshUtil.h |
| Include | #include "AssetUtils/CreateStaticMeshUtil.h" |
| Source | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponentsEditorOnly/Private/AssetUtils/CreateStaticMeshUtil.cpp |
namespace UE
{
namespace AssetUtils
{
ECreateStaticMeshResult UE&58;&58;AssetUtils&58;&58;CreateStaticMeshAsset
&40;
FStaticMeshAssetOptions & Options,
FStaticMeshResults & ResultsOut
&41;
}
}
Remarks
Create a new UStaticMesh Asset based on the input Options Ok, or error flag if some part of the creation process failed. On failure, no Asset is created.
Parameters
| Name | Description |
|---|---|
| Options | defines configuration for the new UStaticMesh Asset |
| ResultsOut | new StaticMesh is returned here |