FDatasmithStaticMeshImporter::SetupStaticMesh

Setup a [UStaticMesh](API\Runtime\Engine\Engine\UStaticMesh) from an [IDatasmithMeshElement](API\Runtime\DatasmithCore\IDatasmithMeshElement).

Windows
MacOS
Linux

References

Module

DatasmithImporter

Header

/Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Public/DatasmithStaticMeshImporter.h

Include

#include "DatasmithStaticMeshImporter.h"

Source

/Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Private/DatasmithStaticMeshImporter.cpp

Syntax

static void SetupStaticMesh
(
    FDatasmithAssetsImportContext & AssetsContext,
    TSharedRef< IDatasmithMeshElement > MeshElement,
    UStaticMesh * StaticMesh,
    const FDatasmithStaticMeshImportOptions & StaticMeshImportOptions,
    float LightmapWeight
)

Remarks

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss