FDatasmithActorImporter::OverrideStaticMeshActorMaterials

Sets the materials on a static mesh actor to override the ones from the static mesh

Windows
MacOS
Linux

References

Module

DatasmithImporter

Header

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

Include

#include "DatasmithActorImporter.h"

Source

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

Syntax

static void OverrideStaticMeshActorMaterials
(
    const FDatasmithImportContext & ImportContext,
    const TSharedRef< IDatasmithMeshActorElement > & MeshActorElement,
    const UStaticMesh * StaticMesh,
    UDatasmithStaticMeshComponentTemplate * StaticMeshComponentTemplate
)

Remarks

Sets the materials on a static mesh actor to override the ones from the static mesh

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