Navigation
Unreal Engine C++ API Reference > Runtime > DatasmithCore
References
Module | DatasmithCore |
Header | /Engine/Source/Runtime/Datasmith/DatasmithCore/Public/DatasmithMaterialsUtils.h |
Include | #include "DatasmithMaterialsUtils.h" |
Source | /Engine/Source/Runtime/Datasmith/DatasmithCore/Private/DatasmithMaterialsUtils.cpp |
namespace DatasmithMaterialsUtils
{
IDatasmithMaterialExpressionTexture &42; DatasmithMaterialsUtils&58;&58;CreateTextureExpression
&40;
const TSharedRef< IDatasmithUEPbrMaterialElement > & MaterialElement,
const TCHAR &42; ParameterName,
const TCHAR &42; TextureMapPath,
const FUVEditParameters & UVParameters
&41;
}
Remarks
Generate material expressions on a given DatasmithUEPbrMaterialElement to output a texture with UV settings applied to it Texture expression with UVEdit applied to it; nullptr if no TextureMapPath is specified
Parameters
Name | Description |
---|---|
MaterialElement | The UEPbrMaterialElement on which to create the material expressions |
ParameterName | The display name for the Texture expression |
TextureMapPath | The texture to use for the Texture expression |
UVParameters | The UVEditParameters to apply |