Module |
|
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 * DatasmithMaterialsUtils::CreateTextureExpression
(
const TSharedRef< IDatasmithUEPbrMaterialElement > & MaterialElement,
const TCHAR * ParameterName,
const TCHAR * TextureMapPath,
const FUVEditParameters & UVParameters
)
}
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
Parameter |
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 |