Navigation
API > API/Runtime > API/Runtime/DatasmithCore
| Name | IDatasmithMaterialInstanceElement |
| Type | class |
| Header File | /Engine/Source/Runtime/Datasmith/DatasmithCore/Public/IDatasmithSceneElements.h |
| Include Path | #include "IDatasmithSceneElements.h" |
Syntax
class IDatasmithMaterialInstanceElement : public IDatasmithBaseMaterialElement
Implements Interfaces
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~IDatasmithMaterialInstanceElement() |
IDatasmithSceneElements.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddProperty
(
const TSharedPtr< IDatasmithKeyValueProperty >& Property |
Add a property to this material | IDatasmithSceneElements.h | |
const TCHAR * GetCustomMaterialPathName () |
Only used when the material type is set to Custom. | IDatasmithSceneElements.h | |
EDatasmithReferenceMaterialType GetMaterialType() |
IDatasmithSceneElements.h | ||
int32 GetPropertiesCount() |
Get the total amount of properties in this material | IDatasmithSceneElements.h | |
const TSharedPtr< IDatasmithKeyValueProperty > & GetProperty
(
int32 i |
Get the property i-th of this material | IDatasmithSceneElements.h | |
const TSharedPtr< IDatasmithKeyValueProperty > & GetPropertyByName
(
const TCHAR* Name |
Get a property by its name if it exists | IDatasmithSceneElements.h | |
EDatasmithReferenceMaterialQuality GetQuality() |
IDatasmithSceneElements.h | ||
void SetCustomMaterialPathName
(
const TCHAR* InPathName |
IDatasmithSceneElements.h | ||
void SetMaterialType
(
EDatasmithReferenceMaterialType InType |
IDatasmithSceneElements.h | ||
void SetQuality
(
EDatasmithReferenceMaterialQuality InQuality |
IDatasmithSceneElements.h |