IDatasmithMasterMaterialElement

Windows
MacOS
Linux

Inheritance Hierarchy

IDatasmithElement

IDatasmithBaseMaterialElement

IDatasmithMasterMaterialElement

References

Module

DatasmithCore

Header

/Engine/Source/Runtime/Datasmith/DatasmithCore/Public/IDatasmithSceneElements.h

Include

#include "IDatasmithSceneElements.h"

Syntax

class IDatasmithMasterMaterialElement : public IDatasmithBaseMaterialElement

Destructors

Functions

Name Description

Public function

void

 

AddProperty

(
    const TSharedPtr< IDatasmithKeyValu...
)

Add a property to this material

Public function Const

const TCHAR ...

 

GetCustomMaterialPathName()

Only used when the material type is set to Custom.

Public function Const

EDatasmithMa...

 

GetMaterialType()

Public function Const

int32

 

GetPropertiesCount()

Get the total amount of properties in this material

Public function Const

const TShare...

 

GetProperty

(
    int32 i
)

Get the property i-th of this material

Public function

TSharedPtr< ...

 

GetProperty

(
    int32 i
)

Public function Const

const TShare...

 

GetPropertyByName

(
    const TCHAR* Name
)

Get a property by its name if it exists

Public function

TSharedPtr< ...

 

GetPropertyByName

(
    const TCHAR* Name
)

Public function Const

EDatasmithMa...

 

GetQuality()

Public function

void

 

SetCustomMaterialPathName

(
    const TCHAR* InPathName
)

Public function

void

 

SetMaterialType

(
    EDatasmithMasterMaterialType InType
)

Public function

void

 

SetQuality

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss