Navigation
API > API/Runtime > API/Runtime/DatasmithCore > API/Runtime/DatasmithCore/FDatasmithSceneFactory
References
| Module | DatasmithCore |
| 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
&40;
EDatasmithMaterialExpressionType MaterialExpression
&41;
Remarks
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.