Module |
|
Header |
/Engine/Source/Runtime/Datasmith/DatasmithCore/Public/DatasmithSceneFactory.h |
Include |
#include "DatasmithSceneFactory.h" |
Source |
/Engine/Source/Runtime/Datasmith/DatasmithCore/Private/DatasmithSceneFactory.cpp |
static TSharedPtr< IDatasmithMaterialExpression > CreateMaterialExpression
(
EDatasmithMaterialExpressionType MaterialExpression
)
Creates a MaterialExpression from the given type. Warning: This function's main purpose is to allow the creation of serialized material expressions. Creating and adding new expressions to a UEPbrMaterial should be done with the IDatasmithUEPbrMaterialElement::AddMaterialExpression() function.