Navigation
API > API/Plugins > API/Plugins/SVGImporter > API/Plugins/SVGImporter/FSVGImporterUtils
References
| Module | SVGImporter |
| Header | /Engine/Plugins/Experimental/SVGImporter/Source/SVGImporter/Public/SVGImporterUtils.h |
| Include | #include "SVGImporterUtils.h" |
| Source | /Engine/Plugins/Experimental/SVGImporter/Source/SVGImporter/Private/SVGImporterUtils.cpp |
static UStaticMesh * BakeSVGDynamicMeshToStaticMesh
(
USVGDynamicMeshComponent * InSVGDynamicMeshToBake,
const FString & InAssetPath,
TMap < FString , UMaterialInstance * > & OutGeneratedMaterialInstances
)
Remarks
Creates a Static Mesh Asset starting from the specified SVG Dynamic Mesh Component
Parameters
| Name | Description |
|---|---|
| InSVGDynamicMeshToBake | the source SVG Dynamic Mesh |
| InAssetPath | The path where the Asset will be created |
| OutGeneratedMaterialInstances | if possible, the function will generate material instances instead of multiple materials |