Navigation
Unreal Engine C++ API Reference > Runtime > DatasmithCore
Inheritance Hierarchy
- ISceneGraphNode
- IDatasmithElement
- IDatasmithBaseMaterialElement
- IDatasmithUEPbrMaterialElement
References
Module | DatasmithCore |
Header | /Engine/Source/Runtime/Datasmith/DatasmithCore/Public/DatasmithMaterialElements.h |
Include | #include "DatasmithMaterialElements.h" |
Syntax
class IDatasmithUEPbrMaterialElement : public IDatasmithBaseMaterialElement
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
IDatasmithMaterialExpression * | AddMaterialExpression
(
const EDatasmithMaterialExpressionType ExpressionType |
|
![]() |
IDatasmithMaterialExpressionTextureCoordinate * | ||
![]() |
IDatasmithMaterialExpressionTexture * | ||
![]() |
IDatasmithMaterialExpressionScalar * | ||
![]() |
IDatasmithMaterialExpressionGeneric * | ||
![]() |
IDatasmithMaterialExpressionFunctionCall * | ||
![]() |
IDatasmithMaterialExpressionFlattenNormal * | ||
![]() |
IDatasmithMaterialExpressionColor * | ||
![]() |
IDatasmithMaterialExpressionBool * | ||
![]() |
T * | ||
![]() |
IDatasmithMaterialExpressionCustom * | ||
![]() |
IDatasmithExpressionInput & | ||
![]() |
IDatasmithExpressionInput & | GetBaseColor () |
|
![]() ![]() |
int | GetBlendMode () |
InBlendMode must match the values of EBlendMode from EngineTypes.h |
![]() |
IDatasmithExpressionInput & | GetClearCoat () |
|
![]() |
IDatasmithExpressionInput & | ||
![]() |
IDatasmithExpressionInput & | ||
![]() |
IDatasmithMaterialExpression * | GetExpression
(
int32 Index |
|
![]() ![]() |
int32 | GetExpressionIndex
(
const IDatasmithMaterialExpression* Expression |
|
![]() ![]() |
int32 | ||
![]() ![]() |
bool | ||
![]() |
IDatasmithExpressionInput & | ||
![]() ![]() |
bool | If a material is only referenced by other materials then it is only used as a material function and there is no need to instantiate it. | |
![]() |
IDatasmithExpressionInput & | GetMetallic () |
|
![]() |
IDatasmithExpressionInput & | GetNormal () |
|
![]() |
IDatasmithExpressionInput & | GetOpacity () |
|
![]() ![]() |
float | ||
![]() ![]() |
const TCHAR * | ||
![]() |
IDatasmithExpressionInput & | ||
![]() |
IDatasmithExpressionInput & | GetRoughness () |
|
![]() ![]() |
EDatasmithShadingModel | ||
![]() |
IDatasmithExpressionInput & | GetSpecular () |
|
![]() ![]() |
int | ||
![]() ![]() |
bool | GetTwoSided () |
|
![]() ![]() |
bool | ||
![]() |
IDatasmithExpressionInput & | ||
![]() |
void | ResetExpressionGraph
(
bool bRemoveAllExpressions |
Reset all expression to their default values and remove all connections |
![]() |
void | SetBlendMode
(
int InBlendMode |
|
![]() |
void | SetIsThinSurface
(
bool bIsThinSurface |
|
![]() |
void | SetMaterialFunctionOnly
(
bool bInMaterialFunctionOnly |
|
![]() |
void | SetOpacityMaskClipValue
(
float InClipValue |
|
![]() |
void | SetParentLabel
(
const TCHAR* InParentLabel |
If a parent material is generated from this material, this will be its label. |
![]() |
void | SetShadingModel
(
const EDatasmithShadingModel InShadingModel |
|
![]() |
void | SetTranslucencyLightingMode
(
int InMode |
InMode must match the values of ETranslucencyLightingMode from EngineTypes.h |
![]() |
void | SetTwoSided
(
bool bTwoSided |
|
![]() |
void | SetUseMaterialAttributes
(
bool bInUseMaterialAttributes |