/Engine/Source/Runtime/Datasmith/DatasmithCore/Public/DatasmithMaterialsUtils.h
Generate material expressions on a given DatasmithUEPbrMaterialElement that output a color or scalar interpolated with a MaterialExpression
Material expression that outputs a Color or Scalar interpolated with Expression; nullptr if no Color, Scalar or Expression are given
namespace DatasmithMaterialsUtils { [IDatasmithMaterialExpression](API\Runtime\DatasmithCore\IDatasmithMaterialExpression) * DatasmithMaterialsUtils::CreateWeightedMaterialExpression ( const [TSharedRef](API\Runtime\Core\Templates\TSharedRef)< [IDatasmithUEPbrMaterialElement](API\Runtime\DatasmithCore\IDatasmithUEPbrMaterialElement) > & MaterialElement, const TCHAR * ParameterName, [TOptional](API\Runtime\Core\IO\TOptional)< [FLinearColor](API\Runtime\Core\Math\FLinearColor) > Color, [TOptional](API\Runtime\Core\IO\TOptional)< float > Scalar, [IDatasmithMaterialExpression](API\Runtime\DatasmithCore\IDatasmithMaterialExpression) * Expression, float Weight, EDatasmithTextureMode TextureMode ) }