Navigation
Unreal Engine C++ API Reference > Runtime > DatasmithCore
Inheritance Hierarchy
- ISceneGraphNode
- IDatasmithElement
- IDatasmithBaseMaterialElement
- IDatasmithMaterialElement
References
Module | DatasmithCore |
Header | /Engine/Source/Runtime/Datasmith/DatasmithCore/Public/IDatasmithSceneElements.h |
Include | #include "IDatasmithSceneElements.h" |
Syntax
class IDatasmithMaterialElement : public IDatasmithBaseMaterialElement
Destructors
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | AddShader
(
const TSharedPtr< IDatasmithShaderElement >& Shader |
Adds a new shader to the material stack |
![]() |
TSharedPtr< IDatasmithShaderElement > & | GetShader
(
int32 InIndex |
Get the shader i-th of this material |
![]() ![]() |
const TSharedPtr< IDatasmithShaderElement > & | GetShader
(
int32 InIndex |
Get the shader i-th of this material |
![]() ![]() |
int32 | Get the total amount of shaders in this material | |
![]() ![]() |
bool | Returns true if the material has a clear coat layer, false otherwise | |
![]() ![]() |
bool | Returns true if the material has only one shader, false otherwise |