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